Sorry, it never fails, ask the question, and find the answer two seconds later.

FYI JColorChooser uses:

tcc.getSelectionModel().addChangeListener(
    new ChangeListener() {
     public void stateChanged(ChangeEvent e) {
         Color newColor = tcc.getColor();
         banner.setForeground(newColor);
     }
    }
);


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to