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

Report as inappropriate.

gnowak
gnowak presents ...

2010/6/14

Input Test

This is the first step to making an Graphical User Interface (GUI), where you can have input-fields and record values from the keyboard to be used in your scenario.

This is inspired by TextBox2 scenario: http://greenfootgallery.org/scenarios/226

I have modified the Counter class from the Ant-scenario from the Greenfoot book. Counter has been renamed to Label. Maybe it should be called input-label.

I will be implementing improvements when I have the time. Feel free to contribute or suggest new features or approaches.

It needs some basic stuff like:

Change between input labels.
Remove input labels and run an other part of the scenario.
Store input label values for later use.
Store input label values in a MySQL-database.
And much more

You can use space and backspace in this version.

Cheers!

/Greg, grn.dk

4417 views / 11 in the last 7 days

4 votes | 0 in the last 7 days

Tags: demo with-source input gui

open in greenfoot
Your browser does not support the canvas tag.

No Comments

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

Who likes this?

imanCoder eljot .nameNotFound USER67