ikk Posted January 16, 2016 Share Posted January 16, 2016 Hey everyone. I've spent way too much time today tinkering with GUIs. I made one which worked fine but was a bit too basic looking for me. So, I decided to try using WindowBuilder, but the code that produced ended up simply crashing my script on launch every time without any errors. So I instead tried to use JFormDesigner to make the GUI. I've made one which I am quite pleased with, however it is throwing me a ClassNotFound error which I am unsure how to solve. Here's the error: 16 01:50:41 AM]: Loading GUI [ERROR][01/16 01:50:41 AM]: Uncaught exception! java.lang.NoClassDefFoundError: com/jgoodies/forms/factories/DefaultComponentFactory at Core.GUI.initComponents(GUI.java:30) at Core.GUI.<init>(GUI.java:24) at Core.ikkDefenders.onStart(ikkDefenders.java:72) at org.osbot.rs07.event.ScriptExecutor.IiiiIIiIII(qf:246) at org.osbot.rs07.event.ScriptExecutor.start(qf:8) at org.osbot.coM8.run(aj:153) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.jgoodies.forms.factories.DefaultComponentFactory at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 9 more They should all be there, I'm not sure why this is giving me issues.. Screenshot: http://i.imgur.com/kYaKoMl.png All help greatly appreciated! Thanks in advance Quote Link to comment Share on other sites More sharing options...
Vilius Posted January 16, 2016 Share Posted January 16, 2016 You are using jgoodies which I doubt osbot supports. So remove it or wait for another response if it is possble to use jgoodies on osbot, because I think its not possible 1 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted January 16, 2016 Share Posted January 16, 2016 The users would need the libraries as well, which they do not have. You'll need to include the library sources or remove the library Quote Link to comment Share on other sites More sharing options...
ikk Posted January 17, 2016 Author Share Posted January 17, 2016 (edited) Thanks for the help guys! Didn't know that OSBot wouldn't automatically have support for JGoodies. Also, I found out the issue which was causing the script to crash upon start up. Was due to me trying to use a font that was unsupported. Looks like my GUI has a JFormDesigner watermark on it that I cannot get rid of, but it could be worse Got rid of all the JGoodies dependencies and unusual fonts and here she is: Edited January 17, 2016 by ikk 1 Quote Link to comment Share on other sites More sharing options...