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

Report as inappropriate.

SPower
SPower presents ...

2013/7/7

Enter text demo

When you start this scenario, you will see a window with a text field inside it popping up. Closing it will let another window appear, containing the very text you just typed in.

This scenario also shows a basic use of JFrames in Greenfoot

I will use this technique as the saving system for my new upcoming game, since the amount of data needed to be saved is way more than 10 integers and 5 strings :)

I hope you like it and you are able to use this in your own scenarios.

2410 views / 7 in the last 7 days

Tags: demo with-source text loader jframe load

open in greenfoot
Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
A new version of this scenario was uploaded on Sun Jul 07 15:18:36 UTC 2013

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.