[EMAIL PROTECTED] wrote:

> Are the swing classes supported in the blackdown port of the 1.2 JDK? I can
> write, compile and execute code properly if I don't use swing but anything
> that uses swing bombs with and a class not found error. This includes the
> demo's that came with the installation. Do I need to set a classpath
> specific for swing or do I need to download another package? TIA

Yes they Swing / JFC is integral core api for JDK 1.2.

You may have older source code.

Check import lines in your Swing source code files
If it says `import com.sun.java.swing.*' then it is wrong,
because that is old package name for Swing 1.0.2
You need to change the line to `import javax.swing.*'
for latest Swing 1.1 on beyond.

It would help if posted the entire stack trace/thread dump.
(It could be an AWT failure or X Server problem for example.)

-------
Peter    OFF SITE: 0171-54-78780
mailto:[EMAIL PROTECTED] (Deutsche Bank UK)



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to