Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionListener onAdjustment = new AdjustmentListener() {
- public void adjustmentValueChanged(AdjustmentEvent e) {
- label.setForeground(new Color(scrollRed.getValue(), scrollGreen.getValue(), scrollBlue.getValue()));
- }
- };
- // ....
- scrollRed.addAdjustmentListener(onAdjustment);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement