Figure 2 shows the result of clicking the Choose Color button shown in Figure 1.
The bottom image in Figure 2 is an object of the JColorChooser class.
Note that the color chooser object doesn't actually appear below the GUI as shown in Figure 2.
Instead, it appears in the upper-left corner of the screen and hides the GUI.
I manually dragged it down below the GUI to produce this image.
Figure 2. Program output after clicking the Choose Color button. |
---|
File: ag.htm | [Next] | [Prev] |