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.

2363 views / 5 in the last 7 days

Tags: demo with-source text loader jframe load

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

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.