| Thread | Last Post | Replies |
|
| new Date(), System.currentTimeMillis() and system clock accuracy | 06 Jul 2008 01:25 GMT | 7 |
Im having a problem getting a higher resolution than 10ms on my system clock (on XP) using both the getTime() method in Date and the currentTimeMillis() method in System to measure the time elapsed between two points in my code. I wrote this small peice to test this
|
| How to create array of hash table with correct types | 06 Jul 2008 01:19 GMT | 12 |
I want to create an array of 3 hash tables that has a string key and a NodeAddress value. I tried the following, which does not compile: private Hashtable<String, NodeAddress>[] cache = {new
|
| Compilation puzzle | 06 Jul 2008 00:26 GMT | 5 |
I stumbled upon a java compilation puzzle that I would like to discuss with you. Let's say I have two classes Foo and Bar defined as: public class Foo {
|
| System Tray Terminology | 06 Jul 2008 00:20 GMT | 8 |
In Vista, there is a bar across the bottom of the screen. It contains tiny icons. The ones on the left are frequently used but currently unrunning programs. The ones in the middle represent running programs.
|
| Question about dates in Java | 05 Jul 2008 15:55 GMT | 6 |
If I have a string which represents the year and day of the year i.e. (2005001) is there an easy way to determine the date i.e. (January 1, 2005). I have done some googling and looked at the API, but nothing leaps out at me. Even looking atRoedy's site isn't helping
|
| Cannot set Breakpoint on Netbeans 6.1 | 05 Jul 2008 15:28 GMT | 8 |
its a bug or I am blind $) ? for (int i = 1; i < 20; i++) { for (int j = 1; j < 20; j++) { c = new Coor(i, j);
|
| display a TableModel as a JTable | 05 Jul 2008 11:23 GMT | 7 |
Given three classes: View JFrame for the GUI MyTableModel represents the data DBDemo has db connection
|
| Newbie - what is the class Class? | 05 Jul 2008 02:47 GMT | 4 |
I am looking on some code where I see the method getClass() is used. From Java site I read that Class class is "Instances of the class Class represent classes and interfaces in a running Java application. As I understand instance of a class is an object - so what a point to
|
| How to file the Directory path of "Temporary Internet Files". | 04 Jul 2008 20:06 GMT | 5 |
Can any one help me how to file the Directory path of "Temporary Internet Files"? A exe will be downloaded in that directory and I have to run that exe file using java.
|
| different sized buttons | 04 Jul 2008 10:27 GMT | 5 |
hello friends i have created a 10 * 10 grid of buttons using grid layout 2 rows of buttons need to be of greater height, the width being the same
|
| imcompatible type when converting a List to array | 03 Jul 2008 23:12 GMT | 19 |
I have an ArrayList<Guest> which I want to convert to an Array, but I'm getting: init: deps-jar:
|
| AbstractTableModel not compatible with Swing | 03 Jul 2008 15:41 GMT | 10 |
What happens when AbstractTableModel is no longer compatible with Swing? I kinda see how to use it, but don't see how XMLEncoder would work in its place. "Warning: Serialized objects of this class will not be compatible with
|
| ClassNotFoundException: com.mysql.jdbc.Driver (from netbeans) | 03 Jul 2008 09:39 GMT | 6 |
I'm almost positive that this is a classpath problem. However, why? Shouldn't "apt-get libmysql-java" set the classpath for netbeans? How do I know what the problem is? When run, it's indicating that it's using com.mysql.jdbc.Driver, so
|