A possible future update may include handling of removing items and suspending specific items. But for now, the order items are added determine the return value of that item (starting at 0).
A new version of this scenario was uploaded on Sat Feb 18 00:12:47 UTC 2012
Menu class with sub-menu class now returning String instead of integer; and more methods, including sort.
Actually, I have had very little formal education in programming; never worked at it professionally. I am pretty much self-taught. I started with GW-Basic and Q-Basic. Had a general course in computer concepts which barely touched on most languages at the time (Cobol, Fortran, Basic, RPG). Dabbled in Assembly on my own. Learned VisualBasic, again, by myself. And for the past couple of years, have been working with Java and Greenfoot (again, on my own). I think that working with VisualBasic prepared me for Java in a way, being it is Object Oriented Programming also.
For you guys, the tutorials and videos in Greenfoot are good for learning to work within Greenfoot; however, the Java trail, Learning the Java Language would be where to start as far as programming at all in Java. You can find it at: http://docs.oracle.com/javase/tutorial/java/index.html
@Roshaan123, oh yeah. Forgot about the lockout.
File menu was added so that the Options menu could actually work on something. Nothing more. I wanted to show what code would look like having a menu selection (in Options) actually doing something (operating on File menu).
@Roshan123, iZip should be able to unzip them; although, I have no personal experience with iZip. You might need to re-suffix the file from ".gfar" to ".zip" for it to work -- possibly not.
2012/2/14
2012/2/20
2012/2/21
2012/2/21
2012/4/16
2012/4/16
2012/8/30
2012/8/30
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/18
2013/3/19
2013/3/19
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30
2020/11/30