| Thread | Last Post | Replies |
|
| Method to get the relative path of a File | 04 Nov 2004 14:39 GMT | 10 |
Does anyone know of a method in Java to return the relative path of a File, relative to the root of the drive? For example, d:\folder\otherfolder\file.dat should result in \folder\otherfolder\file.dat .
|
| generics and Vectors | 04 Nov 2004 13:58 GMT | 12 |
I am getting compiler warnings when using Vectors now, so I want to get rid of them by adding generics to my Vectors. Online it says to use the following syntax: Vector <Integer> v = new Vector();
|
| Collision testing with images? | 04 Nov 2004 13:19 GMT | 5 |
Should I use a bounding box or is there and easier way?
|
| help needed on time-dependent functions! | 04 Nov 2004 13:15 GMT | 20 |
I am working on a single-threaded simulation project, but I don't know to implement time-dependent functions. The simplest example would be: velocity = a * time + b; distance = velocity * time;
|
| java code problem | 04 Nov 2004 12:40 GMT | 2 |
Please help me! My program does not work 1-I have problem wihte constructors parameters 2-I have problem whit toString methode.
|
| Layout Manager Problem | 04 Nov 2004 12:16 GMT | 7 |
Hi to everyone, what i want ro achieve is to build an array of labels and textfields. The array would have 6 columns and a variable number of rows depending on the number of components(labels and textfields) provided.
|
| Another newbie question: Object Tag in HTML | 04 Nov 2004 11:06 GMT | 4 |
Hi @ all, thanks to your help, I got my first applets compiled and working. My new problem is: I usally implement my applets via the "object"-tag (<object classid="java:appletname.class" [...]></object>). It works fine
|
| create my own class -- where to put it? | 04 Nov 2004 02:16 GMT | 13 |
on this servlet tutorial http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ if you see under "First Servlets" then scroll down to where it says "4. Simple HTML-Building Utilities"
|
| Using a variable from one class in another. | 03 Nov 2004 23:34 GMT | 12 |
In the same project I'm using a class called Module: public class Module { private String moduleCode;
|
| java.util.zip.ZipException: No such file or directory | 03 Nov 2004 19:00 GMT | 1 |
We're running Linux RH 9 and I've just installed Java 2 EE SDK 1.4 I've just run
>>/path/to/java -mx256m -jar JarFile.jar and I get the following.
|
| Vectors vs ArrayLists? | 03 Nov 2004 14:38 GMT | 4 |
I have looked at the interfaces and javadocs for java.util.ArrayList and java.util.Vector and I can't tell the difference between them. Is there a difference, and if so, what? Is one better than the other, or are they each better for different tasks?
|
| How to pass parameters "-Dxxxx" in ANT? | 03 Nov 2004 09:18 GMT | 2 |
Normally (from the command line) I call a certain java class by a line like java -Dxxxxxx -Dyyyyyy MyMainClass How do I code the parameters in ANT? <arg value="-Dxxxxxxx" />
|
| Why is there a NullPointerException ? | 03 Nov 2004 08:58 GMT | 7 |
I´m sorry, I don´t understand this NullPointerException. The Exception is raised in the Method initBoard in the class OthelloBoard. What is wrong ? Thanks for help
|
| java.security.InvalidKeyException: Wrong key size | 03 Nov 2004 06:06 GMT | 1 |
I am trying to encrypt a string using MD5. Following is the piece of code. I get the error "java.security.InvalidKeyException: Wrong key size" at the following line DESedeKeySpec desedeKeySpec = new DESedeKeySpec(pwdhash);
|
| more JFrame problems | 03 Nov 2004 06:03 GMT | 5 |
The below code creates a JFrame but doesnt show the contents until the JFrame is resized, am I missing something? Also, the JFrame is not maximised under linux/mac - any suggestions? Thanks
|