| Issue 58: | Applet with swixml2 requires a change in java.policy | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I have created an xml file with the applet tag as root node. But it does not work. It works only when I add the following lines to java.policy: 1. permission java.util.PropertyPermission "org.jdesktop.application.Application.use.common.localizer", "read"; 2. permission java.util.PropertyPermission "org.jdesktop.application.Application.ignore.resources.prefix", "read"; Is there a way without changing the policy? My sourcecode is in the attachment.
Nov 20, 2010
Project Member
#1
bartolom...@gmail.com
Status:
Accepted
Nov 21, 2010
i've deployed a new SNAPSHOT that should fix the problem please test it and let me know
Status:
Fixed
Nov 21, 2010
I have downloaded swingx-2.5-20101121.201548-2.jar, but it is only 2.5kB. What is a snapshot? How can I add to my project. Thanks for your work. How can I spend some money?
Nov 22, 2010
hi You have just miss the right file .... swingx is a new project (see Issue 55 ) the right one is : https://code.google.com/p/swixml2/source/browse/mavenrepo/org/swixml/swixml/2.5-SNAPSHOT/swixml-2.5-20101121.200952-31.jar
Nov 22, 2010
But the file is only 25 kb. How can I add to my project. When I add to my project as referenced lib nothing change.
Nov 22, 2010
Hi i guess that you are not using maven tool the file swixml-2.5-20101121.200952-31.jar is 537 KB however attached you have last SNAPSHOT try it and let me know thx in advance
Nov 24, 2010
Hi, With this version I receive following error: Exception in thread "main" java.lang.NoClassDefFoundError: java/util/ServiceLoader at org.swixml.SwingTagLibrary.registerTags(SwingTagLibrary.java:207) at org.swixml.TagLibrary.<init>(TagLibrary.java:78) at org.swixml.SwingTagLibrary.<init>(SwingTagLibrary.java:120) at org.swixml.SwingTagLibrary.<clinit>(SwingTagLibrary.java:112) at org.swixml.SwingEngine.<init>(SwingEngine.java:197) at org.swixml.SwingEngine.<init>(SwingEngine.java:227) at de.eo.gui.CreateGUIStandalone.<init>(CreateGUIStandalone.java:23) at de.eo.gui.CreateGUIStandalone.main(CreateGUIStandalone.java:30) Have you got an idea?
Nov 24, 2010
This class is part of Java6 (SPI) your applet is running on top of JDK5?
Nov 24, 2010
Youm are right! It works perfect. Thanks a lot. |