The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Translucent and Shaped Swing Windows
Subject:  My Project and X11 issues
Date:  2008-08-30 13:12:38
From:  vahocan


Woww. I have developed a similar library for the Windows O.S. in recent months. Now, I see the cross platform version of the project.

To disappear the exception "Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The window must use a translucency-compatible graphics configuration
"
you can try to add the line "System.setProperty("sun.java2d.noddraw", "true");" at the beginning of the main function.

V.H.

 Feed java.net RSS Feeds