Report as inappropriate.
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.
Want to leave a comment? You must first log in.