Some reader favorites:
EJB fundamentals and session beans
Create a scrollable virtual desktop in Swing
Wizard API updated!
Tim Boudreau has released a new version of the Swing Wizard library (version 0.997) that fixes the WizardException bug reported in JavaWorld's recent Open Source Java Project profile. The article's examples have been reworked to test out the new, improved WizardException. Thanks, Tim, for this helpful fix!
Open Source Java Projects: The Wizard API
Go click on the File menu and then on its various menu items and their children to see how deep the menu nesting goes.
Here is the code for the CascadeApplet applet. It's pretty basic in that all it does is create and then display our Frame.
Here is the code for the CascadeMenus subclass of Frame. Basically, it just creates a new Menu rather than another MenuItem whenever it wants to create a cascading menu.
Now that you know how to make cascading menus, please use them judiciously. As in my example, it is easy to make things more confusing by using Cascading menus. Also keep in mind that a number of us mouse-jockeys are spastic and therefore have a hard time navigating complicated menu hierarchies with these new-fangled mice.
Enjoy!
Free Download - 5 Minute Product Review. When slow equals Off: Manage the complexity of Web applications - Symphoniq
![]()
Free Download - 5 Minute Product Review. Realize the benefits of real user monitoring in less than an hour. - Symphoniq