phony Posted May 9, 2017 Posted May 9, 2017 Starting a auto-walking script to start off and was wondering if anyone has source code for a GUI, so user can select where they would like to go, example: a drop down menu showing all locations, and user can select a location and press go to start the script. Or somewhere where I can learn how to create a GUI, would be greatly appreciated! ty
d0zza Posted May 10, 2017 Posted May 10, 2017 Most IDE's nowadays have their own GUI builders that you can use
JamesJohn01470 Posted May 10, 2017 Posted May 10, 2017 Use https://eclipse.org/windowbuilder/ For Eclipse Or http://docs.oracle.com/javafx/scenebuilder/1/use_java_ides/sb-with-intellij.htm For intellij 1
phony Posted May 10, 2017 Author Posted May 10, 2017 Just now, jamesjohn01470 said: Use https://eclipse.org/windowbuilder/ For Eclipse Or http://docs.oracle.com/javafx/scenebuilder/1/use_java_ides/sb-with-intellij.htm For intellij thanks dog
Alek Posted May 10, 2017 Posted May 10, 2017 Or learn to write your own, it's a useful skill. For what you are asking, it's like 30 lines of code. 2
Apaec Posted May 10, 2017 Posted May 10, 2017 As alek mentioned, writing one from scratch is your best plan, but there are a bunch of tools you can use and many IDEs have corresponding plugins. I personally start with a windowbuilder and adjust the code after designing it, as alot of the code generated by the windowbuilders is untidy and/or poorly structured.
phony Posted May 10, 2017 Author Posted May 10, 2017 Thanks for all of the help guys, should be releasing my first script soon!
LoudPacks Posted May 10, 2017 Posted May 10, 2017 Learn swing for bot GUI's. Then learn javaFX if you want to be able to make nice looking GUI's for regular programs.