Described the open points

This commit is contained in:
ollo 2018-01-02 15:06:18 +01:00
parent 225f4af842
commit a83600281d

View File

@ -154,13 +154,14 @@ public class WS2812Layout extends JFrame {
super(""+character);
setFont(new Font("Dialog", Font.BOLD, 24));
setHorizontalAlignment(CENTER);
//FIXME: Background color is not updated:
this.setBackground(Color.BLACK);
}
public void setColor(int red, int green, int blue) {
this.setForeground(new Color(red, green, blue));
this.update(this.getGraphics());
//this.repaint();
//FIXME changing the color is not working
this.repaint();
System.out.println( this.toString());
}