wood burning stoves
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

error with AFS, pls help!

Florence Cheung

Joined: Mar 18, 2001
Posts: 24
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
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
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!
I agree. Here's the link: http://aspose.com/file-tools
subject: error with AFS, pls help!
It's not a secret anymore!