Ok, I got it a working a little bit, I needed to add, setVisible in the constructor of the GUI not in my script, the problem is I have a lot of NullPointerExceptions
java.lang.NullPointerException
at java.awt.Container.addImpl(Container.java:1093)
at java.awt.Container.add(Container.java:1005)
at javax.swing.JFrame.addImpl(JFrame.java:567)
at java.awt.Container.add(Container.java:417)
at GHWoodcutterGUI.<init>(GHWoodcutterGUI.java:12)
at GHWoodcutter.onStart(GHWoodcutter.java:39)
at org.osbot.rs07.event.ScriptExecutor.iiIIiiIIiI(lk:265)
at org.osbot.rs07.event.ScriptExecutor.start(lk:158)
at org.osbot.qB.run(tm:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[INFO][Bot #1][05/12 01:56:48 PM]: Terminating script GHWoodcutter...