|
|
@ -95,7 +95,7 @@ public class ColorSelectDetailPane extends BasicPane { |
|
|
|
public void stateChanged(ChangeEvent e) { |
|
|
|
public void stateChanged(ChangeEvent e) { |
|
|
|
ColorSelectionModel model = (ColorSelectionModel) e.getSource(); |
|
|
|
ColorSelectionModel model = (ColorSelectionModel) e.getSource(); |
|
|
|
colorChooserPreview.setMyColor(model.getSelectedColor()); |
|
|
|
colorChooserPreview.setMyColor(model.getSelectedColor()); |
|
|
|
colorChooserPreview.paint(colorChooserPreview.getGraphics()); |
|
|
|
colorChooserPreview.repaint(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
previewPanel.add(colorChooserPreview); |
|
|
|
previewPanel.add(colorChooserPreview); |
|
|
|