| Thread | Last Post | Replies |
|
| Error invoking JVM through JNI | 13 Feb 2006 21:29 GMT | 2 |
I have a problem invoking java VM by c code through JNI. The jdk is j2sdk1.4.2_07. I use gcc in MinGW on win XP os. I can compile and link the program correctly, but when I run the result .exe file, it reported that the JNI_CreateJavaVM had failed.
|
| Question: database commit | 13 Feb 2006 21:22 GMT | 18 |
I have a database commit question here: suppose I have a transaction, inside the transaction i have 2 queries to run then commit. The 1st query is to update the database, and the second query is to select from the database which relates to the 1st
|
| java audio gallery | 13 Feb 2006 18:38 GMT | 1 |
I've seen tons of image galleries in java, but has anyone seen a fancy way of showcasing audio files?
|
| Java session library | 13 Feb 2006 18:02 GMT | 1 |
I would like to use Servlet kind of sessions outside of Servlet container. Is there a library for that? Basically what I need is HashMap with secure key generation and automatical session invalidation after a given time. This would be a
|
| Newbe, paintComponent problem. | 13 Feb 2006 17:33 GMT | 1 |
I have a small problem. 1) The initial oval, from paintComponent, isn't draw 2) If the applet window looses focus, even the rectangle disappears. I suppose it's a problem of instance. But I can't see what's
|
| Multithreading / Scalability | 13 Feb 2006 17:06 GMT | 67 |
I wrote a small program to test scalability in a multiprocessor environment (in my case an Athlon 64 X2). I included the source below. To my surprise the calculation does not run faster if I use 2 threads (which should be the case if I have 2 processors) but it runs 5 times
|
| Can the tableHeader be Editable? | 13 Feb 2006 16:07 GMT | 1 |
Hi,everybody as the title, I need the tableheader to be editable, and i rewrited the CellEditor for the tableheader, the code is as follows:
|
| Creating a zip or jar file with directory structure! | 13 Feb 2006 15:49 GMT | 4 |
I am trying to (zip or jar) a directory (including empty directories) using java.util.zip.* and java.util.jar.*. I can create zip and jar files but
|
| performance and memory usage. | 13 Feb 2006 15:00 GMT | 14 |
I created a test program to try the speed and size management of the JDK HashMap. With regards to this I was wondering if anybody has any comments on whether this is an appropriate way of testing this performance, i.e. how realistic is the results with respect to caching
|
| RAW images ... help needed.. | 13 Feb 2006 14:42 GMT | 9 |
Hi, i ve got a raw image to be displayed, i ve used the program below to generate the raw image... [CODE] import javax.swing.*;
|
| jboss + applet + ejb | 13 Feb 2006 14:21 GMT | 5 |
hi experts . When I access remote session bean from applet ,client side system report error: java.lang.ClassFormatError: Truncated class file
|
| finally block consumes/stifles exception | 13 Feb 2006 13:52 GMT | 2 |
I was rather surprised at the outcome of this code, which I created to show someone how a finally block will run even if the try or catch block returns from the method:
|
| Another error creating JVM through JNI | 13 Feb 2006 12:46 GMT | 3 |
I notice that there is another poster with a similar problem to mine, but he's on Unix and I am on Windows, and I think there may be a setup/config problem, so I am starting a new thread I am also getting an error creating the JVM, I am using j2sdk1.4.2_04
|
| Observer pattern issue | 13 Feb 2006 12:43 GMT | 6 |
I have a question that concerns the Observer Design Pattern. Why does every book and article that I have read on the topic does not consider the fact that when the Observable notifies its Observers it goes through a loop without starting a new thread for its Observer.
|
| Does anybody know a freeware-app which can generate UML diagrams from java files? | 13 Feb 2006 12:33 GMT | 6 |
I'm looking for a free tool which can generate at least class and sequence diagrams form my java sources. Does anybody know such a tool (or eclipse plugin)? Markus
|