Java Reference
In-Depth Information
development environment, available from http://netbeans.org , makes use of this
layout managerȌsee Figure 8 .
If you need to build a complex user interface, you will find that learning to use a
GUI builder is a very worthwhile investment. You will spend less time writing
boring code, and you will have more fun designing your user interface and
focusing on the functionality of your program.
Figure 8
A GUI Builder
18.3 Menus
Anyone who has ever used a graphical user interface is familiar with pull-down
menus (see Figure 9 ). In Java it is easy to create these menus.
A frame contains a menu bar. The menu bar contains menus. A menu contains
submenus and menu items.
Search WWH ::




Custom Search