Heh, I did it, I subscribed .. :)

I'm writing an record database application in java using swing 1.03. and I have two
problems. 

The first is not swing related - when I use my program and want to save my
database - the linux jdk/jre doesn't ask for confirmations on overwrites,
but when I run it with the windows jdk it does. I want it to ask no matter
what platform I use, but if I implement a confirmation dialog myself,
windows ask me twice! Where's the problem and how do I work around it.

My second problem is importing swing classes. I have swing.jar and
classes.zip in my classpath in both windows and linux.
The line 

import com.sun.java.swing.*;

works fine in windows but not in linux, when i try to compile it javac
says:

RecordDB.java:6: Package com.sun.java.swing not found in import.
import com.sun.java.swing.*;

I can only compile my app in windows, but I can run it in both windows an
linux. 

Can any-one help me sort these "glitches" out?



Reply via email to