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
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.