menu : Java Glossary
home M words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
menu
pulldown list of actions the user can select across the top of a frame. See the essay on menus on how I think user-configurable, globally-configurable, menus should be implemented. In AWT you need three classes to set up a menu: MenuBar, Menu, and MenuItem. In Swing you use JMenuBar, JMenu, and JMenuItem. Here is how you use it:

Learning More

Sun’s Javadoc on the MenuBar class : available:
Sun’s Javadoc on the Menu class : available:
Sun’s Javadoc on the MenuItem class : available:

In Windows NT, the way you configure your menu is by dragging shorcuts icons into various magic directories: The magic directories are as follows:

Windows NT Menu Configuration
Directory Purpose
WINNT\Profiles\administrator\Desktop Icons for the Administrator’s desktop.
WINNT\Profiles\administrator\Send To Apps the Administrator can send an file to for processing via right click send to.
WINNT\Profiles\administrator\Start Menu Administrator’s main start menu.
WINNT\Profiles\administrator\Start Menu\Programs Administrator’s second tier start menu accessible by clicking Programs.
WINNT\Profiles\administrator\Start Menu\Programs\Startup Programs that will automaically start when you reboot and logon as the Administrator.
WINNT\Profiles\All Users\Desktop Icons that will appear on all users’ desktops.
WINNT\Profiles\All Users\Send To Apps all users can send an file to for processing via right click send to.
WINNT\Profiles\All Users\Start Menu Appear on all users’ main start menu. They appear below the Administrator list, not sensibly merged with it sorted in order as you might expect.
WINNT\Profiles\All Users\Start Menu\Programs Appear on all users’ second tier start menu accessible by clicking Programs. They appear below the Administrator list, not sensibly merged with it sorted in order as you might expect.
WINNT\Profiles\All Users\Start Menu\Programs\Startup Programs that will automaically start when you reboot and logon as any user.
WINNT\Profiles\Default User\Desktop Icons that will appear on a new user’s desktop.
WINNT\Profiles\Default User\Send To Apps a new user can send an file to for processing via right click send to.
WINNT\Profiles\Default User\Start Menu Appear on a new users’ main start menu.
WINNT\Profiles\Default User\Start Menu\Programs Appear on a new users’ second tier start menu accessible by clicking Programs.
WINNT\Profiles\Default User\Start Menu\Programs\Startup Programs that will automaically start when you reboot and logon as a newly created user, before he has configured his own profile.
Each user has a profile similar to Administrator.W95/W98 works similarly, except there is no Profiles or Administrator level in the directory name.Me/NT/W2K/XP/W2K3/Vista menu configuring by direct drag and drop on the menu itself which is considerably easier, and also considerably easier to muck up by accident.

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.16] You need Adobe flash to see this public service ad.
You are visitor number 8,461.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/menu.html J:\mindprod\jgloss\menu.html