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

Comments for menu class

Return to menu class

danpostdanpost

2012/2/14

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.
Game/maniacGame/maniac

2012/2/20

love it
justinejustine

2012/2/21

Nice!
danpostdanpost

2012/2/21

@Game/maniac, sp33dy, and justine Glad you like! Thanks for voting.
IsVariousIsVarious

2012/4/16

Too cool
IsVariousIsVarious

2012/4/16

Too cool
CockyCocky

2012/8/30

darf ich es für meine Spiele verwenden?bitte
CockyCocky

2012/8/30

doch nicht
..i like all your games..they're all amazing
danpostdanpost

2013/3/18

@dianefayeparajes, thanks a bunch.
..hhe..you're really good..you also get many likes all the time..hehhe
..haha..unlike mine..my game is not good for me..
danpostdanpost

2013/3/18

Actually, I took a look at your PiggyMan=) scenario. It has potential. A few glitch fixes should make it much more appealing.
chantal27chantal27

2013/3/18

hey @diane~~hey yang!!ehhehe yeah..same here..i agree with her,, it is good and really,,i think it is so hard to make those??
..can you teach me how to make it more appealing??hhe..i dont know how..im just a beginner..hhe
chantal27chantal27

2013/3/18

but you are good with it so, i think you enjoy and like programming a lot..
chantal27chantal27

2013/3/18

in my scenario,,there are problems..but,uuhh..but practice makes perfect ,right?? i need more knowledge about programming although it is difficult,
..@chantal..hmm.yeah..i think its hard..hehe.. ..and i think he's professional at it..
@chantal.. i think thats right..
chantal27chantal27

2013/3/18

@diane..yeah i think so too...programming makes my head topsy-turvy..hhahahah yeah,,because he's goooood at it,..i wanna learn more, tooo..hahaha
..yeah..me too..=))
danpostdanpost

2013/3/18

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
..thank you very much..=))
chantal27chantal27

2013/3/19

Yeah..thanks a Lot danpost,,,:D
A new version of this scenario was uploaded on 2015-06-16 06:45:55 UTC
A new version of this scenario was uploaded on 2020-11-01 16:07:35 UTC
A new version of this scenario was uploaded on 2020-11-01 16:12:19 UTC
Roshan123Roshan123

2020/11/30

this is one of the best demo for me Thanks for sharing the code for the menu demo!!!! I think u struggled a lot for learning programming.....(✷‿✷)
Roshan123Roshan123

2020/11/30

What does the file menu do???(save, save as, new) What is the use of it(in the brackets given above)
danpostdanpost

2020/11/30

@Roshan123, please start a discussion thread and be more detailed in your question (provide any actual code being referenced as well).
Roshan123Roshan123

2020/11/30

@danpost What do u mean???
Roshan123Roshan123

2020/11/30

D abt....discussion now also i m not allowed to post
Roshan123Roshan123

2020/11/30

And abt.... discussion
Roshan123Roshan123

2020/11/30

The 'color' chages the color of 'file menu' 'Options' changes the font style of the 'file menu' But what does the 'file meu ' do???
danpostdanpost

2020/11/30

@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).
Roshan123Roshan123

2020/11/30

@ danpost, Is their any way to open gfar file in mobile If yes then how???
danpostdanpost

2020/11/30

@Roshan123, you may need to download an app to unzip a gfar (like iZip)
Roshan123Roshan123

2020/11/30

Is it possible to open in mobile with iZip???
Roshan123Roshan123

2020/11/30

Without downloading greenfoot (obviously its not possible to open greenfoot in mobile)
danpostdanpost

2020/11/30

@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.