Java Reference
In-Depth Information
CHAPTER
6
C
reating
M
enus and
B
utton
A
rrays
U
sing the
A
bstract
W
indows
T
oolkit
Objectives
You will have
mastered the material in
this chapter when you can:
• Create and implement private variables
• Include a menu system in a GUI application
• Manipulate Button arrays
• Move data in and out of the system clipboard
• Differentiate between the getActionCommand() and getSource() methods
• Write code to search for which component was clicked
• Use multiple layout managers
• Program multiple case solutions
• Change the icon in a Java program's title bar
• Access methods from the Toolkit class
Search WWH ::
Custom Search