Bug: in jdk1.2 FileChooser not choosing files

1999-07-20 Thread Mark O'Donohue
Hi I have been having problems using JFileChooser, it was not returning files that had been selected (sometimes it would /sometimes it wouldn't). Often about 1 in 3 selections would work. The problem happens only with native threads using green threads works. I believe it is probably related

Re: JAI

1999-07-20 Thread Dimitris Vyzovitis
Bob Stafford wrote: > I've seen reference to a pure java version of the Java Advanced > Imaging API both on Javasoft and blackdown web-sites. The Javasoft > site syas it has actually been tested with the Blackdown Java port. > Can anybody tell me where I can doawload this version from. The > java

Problems with java.lang.ClassLoader

1999-07-20 Thread Michel Prevost
Hi All I am currently doing some tests with dynamic class loading. I have the following snippet of code: Class dateDisplayClass = cl.defineClass(args[0], dateDisplayClassBytes, 0, dateDisplayClassBytes.length); cl.resolveClass(dateDisplayClass); Here is the problem:

Re: [Fwd: [Fwd: [Fwd: Swing Priority]]]

1999-07-20 Thread Alexander V. Konstantinou
If you read the JVM threading specification, it explicitely states that threads of the same priority are *NOT* guaranteed to be time-sliced. This is the most common cause of incompatibilities, as software that works on MS WinNT (has time-slicing), breaks on other operating systems without time-sli

[Fwd: [Fwd: [Fwd: Swing Priority]]]

1999-07-20 Thread Thomas M. Sasala
It's not really a problem, unless the main app does something in an event that takes a while. Since I am currently the only one using the app, it's not an issue. However, in the future, it might become an issue. Generally I was hoping to set the thread to the same priority as th

[Fwd: [Fwd: Swing Priority]]

1999-07-20 Thread Thomas M. Sasala
Setting my task to MIN_PRIORITY fixes the problem, but I think it is a suboptimal fix. So: a) What would a better priority be? b) Is there a better fix than thread priority? c) Does the event handling thread run at a lower priority than the main applic

[Fwd: Swing Priority]

1999-07-20 Thread Thomas M. Sasala
I guess I should of pointed out that I have already tried the SwingWorker utility. I have tried various incarnations of threading, using my real code and test code. If I have a thread that does not sleep, then the main application locks up. Using yield does not help. If I put a sleep

Re: jdbc and oracle 8.0.5 using jdk1.2

1999-07-20 Thread sgee
This may not be exactly what you are looking for, but this is the code I use to connect to oracle. ( and it is for 1.1 ). /***/ /**

jdk1.2-pre2 Installation Problem

1999-07-20 Thread Bill & Martinah Smith
Java-Linux List, I just installed jdk1.2-pre2 on to a system running RH6.0. Following the instructions, I simply added /usr/local/jdk1.2/bin to my path. For any of the base applications (java, javac, appletviewer), I get the message "Could not create the Java virtual machine." This is for both na

Swing Priority

1999-07-20 Thread Thomas M. Sasala
Does anyone know what the priority of the Swing Event processing thread is? I have an application that needs to process very large files, but I start the thread, the main application is still locked up. Placing a yield() in the time consuming thread doesn't seem to help. Any suggestion

jdbc and oracle 8.0.5 using jdk1.2

1999-07-20 Thread Matt Zagni
Hi, I have installed java jdk1.2 and oracle 8.0.5 Installed net8 and all is working fine. refed the CLASSSPATH for jdbc as $ORACLE_HOME/jdbc/lib/classes111.zip The java source compiles ok, but when I run the .class file I am getting the following error. Exception in thread "main" java.lang.NoCl