31,001 Topics

Member Avatar for
Member Avatar for Dark Master

hi forum, i hv used an iterator to parse over the contents of a LinkedHashSet collection.while iterating i hv to add new contents(URL links) to the collection.but adding of new content after the creation of an iterator throws an exception.I must use this particular collection for my program.i m in …

Member Avatar for jwenting
0
117
Member Avatar for gracin

I am trying to link a Core Java class (Format) that has worked well for me for years. In the same project, I have a routine that makes a call: Format.print(os, "%5.4f\n", fVar); I get a msg from the JBuilder compiler: Cannot resolve symbol: variable Format in class.... The thing …

Member Avatar for gracin
0
290
Member Avatar for server_crash

I want to be able to display a default image if the java applet is not inited, just like if they don't have java enabled, I want a default image. I know how to do the latter, but is it possible to do the first?

Member Avatar for jwenting
0
96
Member Avatar for Andrew Minus

Hi everyone, First of all ,this is my first new threads and grant to someone who opened my threads to ingnore my horrible mistakes. I am the student of learning Java Program and i would like to know whether a virus can be produced with Java and if so , …

Member Avatar for jwenting
0
96
Member Avatar for Elektro

is there a downloadable program off the web that is similar to Xcode for mac but instead runs on pc thanks

Member Avatar for Andrew Minus
0
83
Member Avatar for tristan17

hi people, i have encountered this error message "unclosed character literal" while compiling the below program using bluej. I wonder what is wrong with the code,do enlighten me. Thanks!! public class Address { private String street; private String city; private String zip; private String state; //Default constructor public Address ( …

Member Avatar for jwenting
0
281
Member Avatar for jindalarpan

hi all i have installed jdk1.5.0 in gentoo linux and having the following problem can any one help me out what should be done i had just installed gentoo. i am not able to set a java heap size of more than 2600m on these machines. I m getting following …

Member Avatar for Kate Albany
0
160
Member Avatar for glamo

CAN ANYONE EXPLAIN THE OUPUT AND THE ERROR OF/IN THE FOLLOWING PROGRAM /* Debug this program */ class WomenMen { unsigned int i; String stirng s[]; String name[]={"men","women"); private f(int i) { system.out.println(String[i]+" "); } void main(String arg[]) { System.out.println("Press 0 to enter men's name /n press 1 to enter …

Member Avatar for NPH
0
160
Member Avatar for drizkol

Here's the problem; I need to write a recursive function that outputs permutations for a given input n; such that the output looks like: Given n=3, you'd get. . . empty set 1 1 2 1 3 2 2 3 3 1 2 3 The order in which the subsets …

Member Avatar for chrisbliss18
0
78
Member Avatar for Dark Master

hi forum, yesterday i posted a question regarding removing duplicate objects in arraylist and looking at the replies it seemed to me that hashset will be a better option than arraylist.problem is that i want the contents to be itearated strictly in order of their insertion, but the books say …

Member Avatar for jwenting
0
91
Member Avatar for xinix

Hi all, I want to begin programming in either Java1 or Java2 (probably Java2 as it is the more recent). Are there any free Java2 compilers on the internet (like the Bloodshed C++ compiler) I could download? Thanks

Member Avatar for fiberoptik
0
173
Member Avatar for kbradley

Hello Everyone, I am sorry to post this in the java forum but I was not sure where to post this so if you know of a better place in here, let me know. I already tried the computer and engineering forum and I figured Java people would know Matlab. …

0
50
Member Avatar for smitha

Hi, As I have not succeeded in making JMF show live broadcasts of MPEG 4 format ,I thought of trying out Quicktime player,as here too we have quicktime for java.So after installing,I entered the url as rtsp://myserverip/mpeg4/1/media.amp Thus i got the response...Connecting...Buffering and then Showing Live Broadcasts.. But still I …

0
77
Member Avatar for perlsu

Hi I got runtime error as "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ". How can I solve this problem? Can anyone explain me why this problem occurs? Thanks in advance.

Member Avatar for jwenting
0
64
Member Avatar for server_crash

Let's say I have 5 applets on the same page. How does the JVM respond to that? Will a new implementation be created for each applet, or does each applet share the jvm? Also, is there some priority, like the first applet added will be the first loaded? Hope that …

Member Avatar for jwenting
0
87
Member Avatar for glamo

:!: :!: :!: i am trying to make a chat applet ,first problem is that it is working for only single system,i want to know how to connect it with network and second there is some problem in my code it os showing some error which i am unable to …

Member Avatar for freesoft_2000
0
85
Member Avatar for deineMutti

Hola, I'm working on a personal-organizer applet and I'm having trouble saving my to-do lists. I want to save a vector that contains my table data as an object (don't feel like playing with text) and I'd like to save to the folder in my webspace where all of the …

Member Avatar for freesoft_2000
0
245
Member Avatar for Dark Master

hi forum, i m developing a simple web crawler in java.upon entering an URL, the crawler downloads the corresponding web page and continues this process.but i m having problem in accessing web pages which are redirected to a diferent URL.one such example is [URL=http://www.telegraphindia.com]www.telegraphindia.com[/URL] ,in which a new part gets …

Member Avatar for chrisbliss18
0
100
Member Avatar for Ghost

Hi Everyone, Is there a way to make your own remote connection program (just for my use - at least fo now)? Something like goToMyPC. Any suggestions would be appreciated. Also, is this easier to do in PHP/HTML? Thanks in advanced.

Member Avatar for jwenting
0
102
Member Avatar for Blazer

Hi everyone, I require some help for this project I am currently working on. Basically what I have to do is read from two text files, then calculate some numbers from both files (eg: add the numbers and average them) and after that, write the results to a another file. …

Member Avatar for boyzz
0
178
Member Avatar for kokopo2

Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class? If i like to draw that 'image' in the void paint() method multiple times, e.g 10. How should i go about doing it? Below is a sample …

Member Avatar for kokopo2
0
100
Member Avatar for gaborm

Hi Guys, We are trying to create a little servlet in Tomcat, which is capable to send audio files over http to an embedded media player. The definition of the player looks like: ... <OBJECT ID="Mp" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="application/x-oleobject" WIDTH="0" HEIGHT="0"> <PARAM name="uiMode" value="none"> <PARAM NAME="ShowControls" VALUE="0"> <PARAM NAME="AutoStart" VALUE="1"> <PARAM …

Member Avatar for chrisbliss18
0
211
Member Avatar for Chipsncoke

I am working on a parsing a file . This is my problem. There are classes and subclasses. Classes/Subclasses are defined by attributes. The sub classes will inherit the attributes of its super class. For example: Employee(attrbts: name, salary) [INDENT]manager(attrbts: responsibilities)[/INDENT] [INDENT]clerks(attrbts: department)[/INDENT] Emp is a class with manager nd …

Member Avatar for chrisbliss18
0
372
Member Avatar for hitesh_black

can any body help me to find cool topics for miniprojects in SWING like text editor or.....

Member Avatar for freesoft_2000
0
128
Member Avatar for kharri5

Greetings again forum goers! I have another question abound with plenty of obvious nooble errors I'm sure. I am making a memory game(You know the old game where you turn over cards and try to match two in a row, and memorize previous locations etc. ) and this is the …

Member Avatar for kharri5
0
99
Member Avatar for Dark_Omen

Hey, I am trying to install the Java sdk on my computer. I downloaded the newest version 5.0_04 and I installed it. It seemed to work up until the end when an error came up, saying it didn't install properly. Here is the error, "Java update cannot retreive version information …

Member Avatar for Dark_Omen
0
241
Member Avatar for shuchi_jain

[B]Please let me know that what's the component heirarchical structure, i.e, what comes first ...........window then applet or frame is pasted, then comes panel ,after that all GUIs. If I m wrong then plz tell. If I m right then also reply me, I am still confused[/B]. :confused:

Member Avatar for jwenting
0
240
Member Avatar for DWk

Hello, I'm using Java SDK 1.5. I'm trying to compress an 8-bit grayscale BITMAP using Run-Length-Encoding, using lists. Can someone help me out?

0
58
Member Avatar for brianb7590

hey im new to this forum and new to programming and i got an assignment for a sales ticket generator and i clicked compile and it said variable burger might not have been initialized please help.... import TerminalIO.KeyboardReader; public class Resturant { public static void main (String [] args) { …

Member Avatar for boyzz
0
247
Member Avatar for kharri5

I'm new to swing, and was curious if anyone could point me in the right direction here. Cannot figure out how to make this repaint crap work, or if I'm supposed to be using repaint(), or what, to make this image get drawn to the background of my window. Here …

Member Avatar for kharri5
0
2K

The End.