as i said in a previous thread i am developing a text adventure game using swing. At the moment i can only output to the console using the following :
this.println(" Start Game");
this.println(" Terminate Game");
i have a class creating the GUI and a seperate class which handles all the input from the player.
I would like to enter the players decision (eg gonorth) into a textfield and have the corresponding action out to the text area.
So instead of entering 1 for the above example into the console you would enter one into the text field and the corresponding message, "game has started" would be seen in the textarea
Any help would be appreciated thanks :D
Re: JTextArea Help