Tuesday, February 24, 2009

March 5: Menus, part two

OK, so now you have a menubar with one menu and one menuitem on that menu. It doesn't DO anything though, now does it? That's simple enough to fix; I bet some of you already added to your action performed statement like so:



else if (e.getSource() == quit)

{

System.exit(0);

}// lets quit using using the menu



If you haven't tried that, why don't you do so now?

If you have done that, why don't you try adding the other menuitems to the menu



Cheers,

Uncle Paulie

No comments:

Post a Comment