hello i got a little problem i never used jmenu before so i got this code for a simple menu and i want to add actions to the buttons exit, open, delete so i was wondering if anyone can show how to set for example the exit button to exit and so on thank you.
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
have you ever added an actionListener to a JButton and coded it to exit the program?
if you have, it is the same procedure for a JMenuItem