This site requires JavaScript, please enable it in your browser!
Greenfoot back
Hersov
Hersov wrote ...

2014/2/24

How do I make a window Apear when I run the Program

Hersov Hersov

2014/2/24

#
How do I make a Window apear when I Run the program so that someone has to enter a code (that can be anything) that will then go into my Scenario. Please help
danpost danpost

2014/2/24

#
At minimum, you will need: (1) a field to hold the code entered; (2) something to display the code as it is being entered; this can be an Actor object, a JFrame with a JTextField object, or even a World object; Which way would best suit your needs cannot be determined due to insufficient information provided. Basically, the information needed is your initial world's constructor and any methods accessed through it along with any fields used by said code.
You need to login to post a reply.