| Thread | Last Post | Replies |
|
| Keyboard Event Trapping without GUI | 18 Aug 2006 14:06 GMT | 1 |
I am trying to write an application that will run on console and will not have any GUI whatsoever. Once the program in run i want it to keep listening for keyboard event and just print them on console as they happen.
|
| Difference Between Calling SuperClass Constructor or Inherited Set Method | 18 Aug 2006 12:02 GMT | 3 |
This is the situation. I have the usual base class w/ private instance variable along with public methods manipulating them. I have a derived class which inherits from the base class. public class Base {
|
| PreparedStatement addBatch - JNI local ref creation exceeded capacity | 18 Aug 2006 11:56 GMT | 3 |
I have got some code that is using one PreparedStatement instance, but calling addBatch() on that instance thousands of times (2775) before calling executeBatch. This has worked ok but this morning I found a "JNI local ref creation exceeded capacity" error which crashed the
|
| MANIFEST.MF and INDEX.LIST | 18 Aug 2006 11:05 GMT | 1 |
I've just spent some hours (late hours) fighting against the classpath in JAR archives, the MANIFEST.MF file and the INDEX.LIST file. I just want to mention together some of the information I gathered through internet (and tested on my own). They may be useful to someone
|
| FontMetrics help needed | 18 Aug 2006 09:08 GMT | 5 |
Hi, this seems like a "chicken and egg" problem, but I am sure there is a way to do this: In order to compute the height of a JPanel I want to instantiate I need to know the height of a line of text, which I could do using
|
| Adding/Removing Panels | 18 Aug 2006 08:40 GMT | 1 |
I am trying to add and remove panel in Java. I have a main application screen with a panel added to the contentPane. This works without any problems. When I click a button in the added panel it should remove this panel and add a different one. How do I do this. Any help would be
|
| how to remove anonymous listener? | 18 Aug 2006 05:39 GMT | 4 |
I setup an array of combo boxes using the following (some code removed such as layout properties): for (int i = 0; i < cbAccountProps.length; i++) { cbAccountProps[i] = new JCheckBox(strAccountProps[i]);
|
| Dir filter how to set ? | 18 Aug 2006 03:39 GMT | 4 |
Now. Output as below, I want just list out *.java , how to using filter ? 1 i = 60, 2003-01-22 23:01:02, .\testing\template.java 1 i = 61, 2003-01-12 01:38:02, .\testing\Triangle.class
|
| WEB-CAMM picture capturing | 18 Aug 2006 00:26 GMT | 4 |
Can someone tell how can I use Java to capture some webcamm data?
|
| Confusion using a parameterized collection with a sub class | 17 Aug 2006 22:38 GMT | 3 |
I've got a super class A and A subclass of A called B. I want to make a collection that can be created as either a collection of A or a subclass of A. That is fine, and seems to compile fine. However, when I actually make a collection that contains a subclass of
|
| Restoring a StyledDocument? | 17 Aug 2006 21:23 GMT | 5 |
I have written out the contents of a JTextPane StyledDocument as HTML using this code: .... try {
|
| Question: JVM Memory Management | 17 Aug 2006 21:01 GMT | 1 |
I have a java web application running on Sun Solaris 10 platform, the java version is 1.5.0. Recently I found when I used TOP command to get the memory used by my application it was over 1.5GB and kept increasing. However when using the java.lang.Runtime.totalMemory() and
|
| Is JAR signing _ever_ harmful? | 17 Aug 2006 17:43 GMT | 3 |
I'm having a series of ructions with our on-site installation people, re: JAR signing. It's a big app, big budget, and we have lots of be-suited consultants running around on customer sites for long periods. I live back in the coder's garret, making the product.
|
| JNI - Getting a double array form Java | 17 Aug 2006 16:48 GMT | 3 |
I'm trying (without sucess :( ) to get a double array form Java using JNI. My function (in C++) calls "CallDoubleMethod" but put trash in my "C" double array. I'm doing somethig wrong but I don't know what. I check
|
| try{}catch(){} with RMI | 17 Aug 2006 16:36 GMT | 6 |
Everytime I try to connect with the server via RMI I get stuck in catch(). try {
|