|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Plugins do not work in the applet |
|
| Print at Dec 20, 2025, 1:29:12 AM | |
| Posted by dimm at Apr 12, 2012, 8:45:32 PM |
|
Plugins do not work in the applet Hello, Goal: make a plugin that works in the applet. What I also tried : I edited the calculatewalls plugin to enable toolbar icon. Made the jar. The plugin works fine in the standalone version and the icon appears on the toolbar, but the plugin breaks the applet( .. pluginUrls:"plugins/calculateWalls.jar", .. ). Is there a plugin that works in the applet? Or explanation how to make it happen? Btw, learning Java so please include more details if possible. Thanks in advance |
| Posted by Puybaret at Apr 13, 2012, 10:24:19 PM |
|
Re: Plugins do not work in the applet I'm going to check if this feature works correctly. Nevertheless, as applets don't display a menu bar, only plug-ins displaying a button in the tool bar can be used within an applet (the TOOL_BAR property of its plug-in action must be set to Boolean.TRUE), and calculateWalls.jar isn't usable in that case. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by dimm at Apr 16, 2012, 4:27:05 PM |
|
Re: Plugins do not work in the applet Puybaret, thank you for looking into this. Here is the error I get in the console. Again the same jar works fine with the stand alone. Exception in thread "AWT-EventQueue-2" java.lang.LinkageError: loader constraint violation: loader (instance of com/eteks/sweethome3d/tools/ExtensionsClassLoader) previously initiated loading for a different type with name "com/eteks/sweethome3d/plugin/PluginAction" at java.lang.ClassLoader.defineClass1(Native Method) ...... |
| Posted by Sajmmon at Apr 16, 2012, 6:41:07 PM |
|
Re: Plugins do not work in the applet Hi, I dont know if my experience would help, but I was getting the same error when experimenting with JAWS. In my case a piece of code in my plugin worked fine. However, a piece of code that I added to Sweethome SRC in a new package needed to be implicitly stated in: com.eteks.sweethome3d.SweetHome3DBootstrap in the list of application packages Cheers |
| Posted by dimm at May 23, 2012, 10:38:58 PM |
|
Re: Plugins do not work in the applet Solved. The issue was in the meatware (me). Please delete thread. |
|
|
Current timezone is GMT Dec 20, 2025, 1:29:12 AM |