hi friends
i am new to java 2d and quite not sure what is the environment i need in linux systems 
to use the classes from the api. Right now i am not able to initialize a Font object 
and following is the exception.I am sure i need some components in my linux box have 
no clue to that.Please advice.
Exception 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:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
        at java.awt.Font.initializeFont(Font.java:264)
        at java.awt.Font.<init>(Font.java:298)

thanks
-----
Seemanto Barua
Davlin Software Pvt. Ltd
2nd floor punja building
ballalbagh, Mangalore
Email: [EMAIL PROTECTED]
       [EMAIL PROTECTED]

Phone: (0824)-2451001/5 extn-26


DISCLAIMER: This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended
recipient you should not disseminate,distribute,store,print, copy or
deliver this message.Please notify the sender immediately by e-mail if
you have received this e-mail by mistake and delete this e-mail from
your system.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

hi friends

i am new to java 2d and quite not sure what is the environment i need in linux systems to use the classes from the api. Right now i am not able to initialize a Font object and following is the exception.I am sure i need some components in my linux box have no clue to that.Please advice.

Exception 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:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
        at java.awt.Font.initializeFont(Font.java:264)
        at java.awt.Font.<init>(Font.java:298)

thanks

-----
Seemanto Barua
Davlin Software Pvt. Ltd
2nd floor punja building
ballalbagh, Mangalore
Email: [EMAIL PROTECTED]
       [EMAIL PROTECTED]

Phone: (0824)-2451001/5 extn-26



DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to