Having a problem running anything with swing. 




tim@powerpuffer:~/Programming/java$ java start
Test
current locale is not supported in X11, locale is set to CX locale 
modifiers are not supported, using default# # An unexpected exception 
has been detected in native code outside the VM.# Program counter=0x4001f84c
#
# Problematic Thread: prio=5 tid=0x804e600 nid=0x3c3a runnable
#
Aborted

here's the code it fails on, but anything that seems to access  X dies.
if I remove the JOptionPane it works fine on the console.
(debian linux2.4.3, currently have j2sdk-1.3, but I have tried 1.1.8, 
1.2.2, ( both blackdown and ibm) )
so WHAT IS WRONG WITH MY SYSTEM.  this is driving me nuts.

import javax.swing.*;

public class start
{
       public static void main( String x[])
       {
               System.out.println("Test");
               JOptionPane.showMessageDialog(null,"tset");
               System.exit(0);
       }
}

thanks for any help, let me know if more information is needed.
tim




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

Reply via email to