I BUILT a guess a number(1-1000) code Java SE , Well that I do not know is that: At end if guess found, the button that configured to appear then, when pressed, how to START GAME FROM STARTUP Generating a new random ...etc
main() is in second file[just for running only], with first file content.
[b]just the trick I want [/b]to start from beginning... I refer for textbook's JAVA HTP7 EXE.11-15
Well... If you're thinking about buttons and frames, you'll may want to use Swing. Things get waaaaay different and easier, then. If that's what you're using, you'll need only one main, starting the main frame. After that, it's all about events...
I'm not going to answer all of your questions. There're plenty of tutorials and free codes on the Internet.