| Thread | Last Post | Replies |
|
| Timer in Java | 05 Oct 2006 21:37 GMT | 1 |
Hi. I am currently writing a java application and I would like to set a timer to make the program do a certain thing if the program has been used for more than 10 minutes. How is this possible. Any help would be apreciated. Thank you
|
| Stop logging to catalina.out? | 05 Oct 2006 21:20 GMT | 2 |
I am using Tomcat 5.5.9 with Log4J. I want to stop using catalina.out as logging output and only use log4j files instead. However, no matter what I do Tomcat keeps appending log4j outputs to catalina.out. According to Tomcat documentation, only System.out and System.err
|
| Help with DefaultListModel | 05 Oct 2006 20:52 GMT | 4 |
I was wondering if someone can help me. I am quite new to Java so apologies for my lack of knowledge. I have created a JList list with a listModel and I am using the addElement() method to add a string to the JList.
|
| cannot get a list of file/directories on webserver | 05 Oct 2006 19:50 GMT | 3 |
On a webserver there is the following structure: <site root>/ site.xml features/
|
| JTree computer directory browser expand/collapse icon problem | 05 Oct 2006 19:19 GMT | 5 |
Hi guys I recently found this code (and modified it to be in a window so you can simply compile and run it for your convenience) in one of the archived read only threads in Sun's Swing GUI forum (http://forum.java.sun.com/thread.jspa?forumID=257&threadID=165536).
|
| Unicodes | 05 Oct 2006 17:09 GMT | 1 |
I am trying to insert some unicode into a JTextPane document but i have a concern as to whether the unicode will be recognized on other platform besides windows. This is what i did
|
| Beginner's Question: "*.java uses unchecked or unsafe operations" | 05 Oct 2006 14:07 GMT | 8 |
I have read the net and notice this problem is caused by the version of compiler between 1.5 and 1.4. I tried to use the follow codes to overcome the warning msg. "uses unchecked or unsafe operations" but not able to. Please advice. Thanks.
|
| basic socket program in Java | 05 Oct 2006 04:11 GMT | 3 |
I am writing a simple socket program in java as follows: try { System.out.println("Creating a new socket...\n"); echoSocket = new Socket("130.126.243.188", 1029);
|
| help with installation | 05 Oct 2006 03:33 GMT | 2 |
I've been programming in java for some time now, but always on a university machine that was already set up to do so. I'm having trouble setting up my own machine to use the compiler. I've downloaded and installed " J2SE(TM) Development Kit 5.0 Update 9" for
|
| Relative path in jar files | 05 Oct 2006 03:02 GMT | 1 |
My situation is this , i have a jar file which draws a diagram in a location.This location is the hard coded relative path. when i try to use this jar in a web application, the jar should draw the diagram in the relative path, but its not taking the relative path of the web
|
| How to differentiate the first or last item in Java 5 for-each type of loop? | 04 Oct 2006 20:03 GMT | 3 |
I got a code snippet like: // == start of the code == List<String> list = new ArrayList<String>(); ...// some code to add String to "list"
|
| Beginner's Question: Create an identical object. | 04 Oct 2006 04:41 GMT | 6 |
Need help in understanding this. Let's say I have 2 class. driver class, and customer class. In driver class, [code]
|
| Please Help me with JTable | 03 Oct 2006 23:46 GMT | 3 |
help Needed, Please Some 1 give me an Example for a JTable which can retrive data from an database; A JTable....which can rread data from a data base and display it.......
|
| Seeking a smarter idiom | 03 Oct 2006 16:44 GMT | 1 |
Here's something I find myself doing a lot: Map<KeyType,MutableType> map = ...; ... KeyType key = ...;
|
| Pb. receiving UDP datagrams | 03 Oct 2006 13:55 GMT | 2 |
I receive a continuous flow of UDP datagrams on my PC that I would like to process in a Java program. I wrote the following piece of code but I can't get any datagram (the .receive() function blocks forever). I checked with a network sniffer - Ethereal/WireShark - and I could
|