netbeans7.0

Glassfish DeploymentException: Error in linking security policy for

匆匆过客 提交于 2019-11-28 17:19:56
问题 I have been trying to deploy my web application (war) from Glassfish AdminConsole but I keep getting the following error message - Exception while loading the app : Error in linking security policy for MyApp-war -- Inconsistent Module State. But it deploys without any problem when I do it from Netbeans. (I don't know if Netbeans is doing something that I am missing before deploying the application.) And I also tried with the latest version of Glassfish (i.e. V3.1.1 (build 12) ), and I can

Is The Java Tutorials Translucent Window example giving trouble to those playing with jdk7?

早过忘川 提交于 2019-11-27 15:33:29
Here's the example . If you build and run TranslucentWindow in let's say, NetBeans IDE 7.0, which supports jdk7, you'll get the following exception: Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated at java.awt.Frame.setOpacity(Frame.java:960) at main.TranslucentWindow.<init>(TranslucentWindow.java:23) at main.TranslucentWindow$1.run(TranslucentWindow.java:47) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705) at java.awt.EventQueue.access$000(EventQueue.java:101

Is The Java Tutorials Translucent Window example giving trouble to those playing with jdk7?

只愿长相守 提交于 2019-11-26 17:13:10
问题 Here's the example. If you build and run TranslucentWindow in let's say, NetBeans IDE 7.0, which supports jdk7, you'll get the following exception: Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated at java.awt.Frame.setOpacity(Frame.java:960) at main.TranslucentWindow.<init>(TranslucentWindow.java:23) at main.TranslucentWindow$1.run(TranslucentWindow.java:47) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt