hunterl31 Posted March 23, 2014 Share Posted March 23, 2014 I have been trying to find a tutorial that shows how to create the options menu that pops up once you start the script but before it starts doing anything. If anyone can give me a quick run down or point me in the right right direction i would greatly appreciate it. Link to comment Share on other sites More sharing options...
thepecher Posted March 23, 2014 Share Posted March 23, 2014 look around in the tutorials section. I think i saw a GUI tutorial there Link to comment Share on other sites More sharing options...
Extreme Scripts Posted March 23, 2014 Share Posted March 23, 2014 (edited) If by "options menu" you're referring to GUI (graphical user interface) then you would have to design one using a builder of your choice (Windows builder pro) for eclipse add on is recommended. Then import you're class like this in your class file that contains the onLoop etc import PackageName.guiName; Then in underneath the "Class extends Script" part write: (Creating an object so it's easier to refer to) guiName GUI = new guiName(); In your onStart() method set it visible: GUI.setVisible(true); Finally in your onLoop() method give it the condition: while(GUI.isVisible()){ sleep(100); } I would recommend looking in the "Tutorials" section for @Pandemic's tutorial on beginner scripting, no offence but it doesn't seem as if you know much. Basic knowledge of java is quite essential otherwise you will find it tricky. Anyhow good luck Edited March 23, 2014 by Divinity 1 Link to comment Share on other sites More sharing options...