O'Reilly logo
  • Michael ss thinks this is interesting:

n this example, we construct a stack of color panels, with each panel having one of the colors of the rainbow. The ColorPanel class represents this panel. The class constructor accepts a color argument and sets the pane

From

Cover of Java Programming

Note

container>label,list>button,从代码可看出来