| Thread | Last Post | Replies |
|
| myString Class | 14 Aug 2004 03:40 GMT | 6 |
I just wrote a class myString that has the equal method which is case insensitive (unlike the the one provided by the String class ) public class myString {
|
| init an array | 14 Aug 2004 03:38 GMT | 4 |
Hi, I have a method which accept Object array as parameter. I wrote the parameter as below. The system report error. Object Object1;
|
| how and where do does the jre go? | 13 Aug 2004 21:06 GMT | 12 |
cross-posted I looked in the readme's and so forth and couldn't find this information. I assume I want the jre in something like /usr/local/java/jre_x/.. which was how mozilla set itself up. the jre from sun put itself right on the
|
| Class Cast exception | 13 Aug 2004 20:50 GMT | 5 |
HI folks, i have a silly problem. Does anyone Know why casting ArrayList to List ( e viceversa)is a problem: e.g. public List aMethod() {.. return ArrayList} //no problem but ArrayList list = (ArrayList) aMethod --> ClassCastException
|
| constructor problem | 13 Aug 2004 14:40 GMT | 6 |
i am having a problem with costructors i have four of them where i assign the amountOwing in the constructor and call the tester program it works ok
|
| Java Executable | 13 Aug 2004 09:04 GMT | 36 |
Please let me know if you are aware of any tool which can convert the Java code into .exe file including the libraries. So, that I can run the .exe from any PC. I have tried J2exe tool but it works fine on my PC only.
|
| visbility problem running multiple instances of simple applet with one graphic object: label | 13 Aug 2004 05:15 GMT | 4 |
I have worked with a couple of java application before but plain old aw applet this is my first try. I got frustrated with the download time for 12 or 15 1 KB graphics files on a website I volunteer to take care of. So I though if I can create a simple
|
| Code difficulties. Probably easy problem. | 13 Aug 2004 02:57 GMT | 1 |
Got this result after javac o3_1.java o3_1.java [20:1] unreachable statement Line 20 is " System.out.println(); " The Code:
|
| converting strings to numbers (still..) | 12 Aug 2004 15:16 GMT | 9 |
String user = args[0]; // what user inputs.. Integer userNumber = Integer.valueOf(user); System.out.println(userNumber + 1); I get an error here..
|
| java jre rpm gives "not an rpm package" error | 12 Aug 2004 14:21 GMT | 3 |
cross-posted clicking on the file downloaded from sun gives this error dialog: cannot open jre-1_5_0-beta2-linux-i586-rpm.bin the filename indicates the file is of type "unknown type." the contents of the file indicate the
|
| parsing html file, extracting URLs | 12 Aug 2004 13:35 GMT | 1 |
Hallo, here is my problem: Given an HTML document, I need to parse it to retrieve the URLs of all the pictures in the document. Once I have that, I need to retrieve the pictures and package them all (together with the HTML file), into a unique
|
| Eclipse and building projects | 12 Aug 2004 12:51 GMT | 4 |
I have a project that depends on *some* files from a second project. In the past (pre-Eclipse) I would have the ANT build environment reference the other project and my builds included only what was needed by the compiler. I've now gone to an Eclipse environment and do *not* want to ...
|
| Problem excuteing RPM form java | 12 Aug 2004 11:26 GMT | 1 |
I want to install RPM's (Redhat Packet Manager) out of a java programm. Therefore I use the getRuntime() method that allows me to execute commands
|
| default constructors | 12 Aug 2004 10:10 GMT | 2 |
I have a question about default constructors. When you make a subclass and give it a constructor. Do you have to make a constructor in the superclass without arguments? Can anybody tell me how this works?
|
| Checking for null | 12 Aug 2004 08:31 GMT | 8 |
Anyone sure about this newbie question: If an object - let's say a string - may be null, is it safe to do: if (var!=null && !var.equals("abc")) do_something(); Or can this cause in a NullPointerException at "equals"?
|