Is it possible to have a translucent windows in java 7 including a title bar?
问题 Related to this question: Is The Java Tutorials Translucent Window example giving trouble to those playing with jdk7? with jdk1.6.0_26 I seem to be able to apply translucency to a JFrame, but not so with jre7: NativeException: java.awt.IllegalComponentStateException: The frame is decorated ex (jruby scripting java, works jdk1.6 not with jdk7 though): require 'java' class MouseDraw def self.go java_import 'javax.swing.JFrame' java_import 'com.sun.awt.AWTUtilities' f = JFrame.new AWTUtilities