wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes error with AFS, pls help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "error with AFS, pls help!" Watch "error with AFS, pls help!" New topic
Author

error with AFS, pls help!

Florence Cheung
Greenhorn

Joined: Mar 18, 2001
Posts: 24
Hi,
I am trying to run a GUI implemented in Swing on afs. But got this exception: -
>Exception in thread "main" java.lang.InternalError: Can't con
nect 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:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at javax.swing.JFrame.<init>(JFrame.java:141)
at CompanyServer.<init>(CompanyServer.java:53)
at CompanyServer.main(CompanyServer.java:171)
Anybody knows how to fix this? Thanks in advance!
Florence
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error with AFS, pls help!
 
Similar Threads
Oracle 9i Installation on Fedora core 2
Getting error when running swing program
Can't connect to X11 window
rgdg awt on Linux {java.lang.InternalError}
Headless Exception in JasperViewer