Hi everyone,
Does anyone know how to set DISPLAY VARIABLE?My ipaq give me the following
error message:eption in thread "main" java.lang.InternalError: Can't connect
to X11 window
server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:5
9)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:58)
at java.awt.Window.<init>(Window.java:186)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:294)
at javax.swing.JFrame.<init>(JFrame.java:172)
at SwingHello.<init>(SwingHello.java:14)
at SwingHello.main(SwingHello.java:43)
Thanks.
Chen
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Received on Fri Mar 29 01:14:17 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:42 EDT