tcc = new JColorChooser();
/**
* Add lch color panel
*/
LCHColorPanel hclColor = new LCHColorPanel();
// hclColor.addFocusListener(new FocusListener(){
// @Override
// public void focusGained(FocusEvent e) {
// System.out.println(e.getSource());
// System.out.println("Focus gained");
//
// }
// @Override
// public void focusLost(FocusEvent e) {
// // TODO Auto-generated method stub
// System.out.println("Focus lost");
// }
//
// });
// tcc.addChooserPanel(hclColor);
AbstractColorChooserPanel panels[] = { new LCHColorPanel(),
new HCColorPanel() };
tcc.setChooserPanels(panels);
// tcc.getSelectionModel().addChangeListener(this);
tcc.setBorder(BorderFactory.createTitledBorder("Choose Text Color"));
// tcc.setPreviewPanel(pre);