Esempio n. 1
0
 /** Action listener for the OK button in the color chooser. */
 public void actionPerformed(ActionEvent e) {
   // ok button in color chooser was pressed.
   this.setColor(colorChooser.getColor());
   super.fireActionPerformed(e);
 }