为什么这个语句在 java (NetBeans IDE 7.2.1)
com.sun.awt.AWTUtilities.setWindowOpacity(this, 0.3f);
出现以下错误:
Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated
at java.awt.Frame.setOpacity(Frame.java:960)