| Thread | Last Post | Replies |
|
| Newbie thread question - Illegal Monitor State Exception | 20 Nov 2003 17:23 GMT | 10 |
In the code below, I would really like to uncomment "notifyAll()" and change "Thread.sleep(100)" to "wait(100)", but when I do that I get an Illegal Monitor State Exception. Does anyone know how to "make it work"? My book, "Learning Java" by
|
| Finding path of running class | 20 Nov 2003 16:19 GMT | 3 |
File currentDir = new File(System.getProperty("user.dir")); I need to know the path to a class that is running and have had partial success. The code shown above finds the folder where the JVM is running.
|
| JDBC DRIVER FOR USE MS ACCES | 20 Nov 2003 15:22 GMT | 1 |
some have a ms access driver type 4 to java
|
| Generate a Random Number between 6 and 12? | 20 Nov 2003 14:15 GMT | 10 |
I know that to generate a random integers that ranges from from 0 to n, you use the following code: int n = 10; i = rand.nextInt(n + 1);
|
| Event HELP | 20 Nov 2003 12:32 GMT | 1 |
I'm stuck with my program. I have one JFrame in which I have one JTree (that needs to be updated) and JInternalFrame, but the information for that should come from a JButton that is located in JInternalFrame.
|
| Tomcat JSP Reload Problem | 20 Nov 2003 07:56 GMT | 3 |
I have a problem using Tomcat 4.1.27 with JSPs - I hope someone can help! I have a very simple JSP application, taken from the JSP Tutorial (http://www.jsptut.com/). When I compile and deploy the application, then start up Tomcat, it runs fine.
|
| How to find a location of a class? | 19 Nov 2003 22:08 GMT | 2 |
Is there an easy way to find out with JDK 1.4, where a class is defined? Of course I can search the files in CLASSPATH manually (and also look into all the jar files),
|
| About classpath | 19 Nov 2003 22:08 GMT | 6 |
Do I need to reboot my computer after setting the CLASSPATH?
|
| I can't get a Vector to typecast properly. | 19 Nov 2003 21:31 GMT | 3 |
I have a Vector data structure for which I need to create some references. The problem is, I can't seem to get them to typecast properly. I am compiling "Bbbs.java"
|
| Should I run JAVA or MS VM with Internet Explorer? | 19 Nov 2003 20:44 GMT | 2 |
I installed Java JRE 1.4.2_02 to support Mozilla Firebird while I try it out. This plug-in has enabled itself to run with IE6 too. Should I disable it in IE6? Or should I disable MS VM? Or should I let both run together?
|
| Converting milliseconds to actual date | 19 Nov 2003 19:29 GMT | 2 |
I have 3rd party vendor program that writes the date and time out in milliseconds (ex: 1031030063000000). Using Java, how can I convert this number to the actual date & time? Thanks,
|
| class.getOne().getTwo() | 19 Nov 2003 17:29 GMT | 8 |
I would like to see a simple example of this: class.getOne().getTwo() class X{ public static String getOne(){ return "";
|
| repaint() method ignored | 19 Nov 2003 17:21 GMT | 2 |
I've written a Card class and a BlackJack applet. The BlackJack start method is as follows: public void start() {
|
| No app frame for Java application | 19 Nov 2003 17:08 GMT | 1 |
I have several GUI-based Java (1.4.2) applications that I run under Win32. No problem. However, when I move that application to my Linux box (RH8.0) and rebuild, the applications no longer have a "main application frame" - no
|
| java gui problem | 19 Nov 2003 17:05 GMT | 9 |
I want to implement a GUI which uses image as background. I uses JFrame . However, I cannot find any tutorial showing how to add an Image as the background May anyone suggest some useful tutorial?
|