Described the open points
This commit is contained in:
parent
225f4af842
commit
a83600281d
@ -154,13 +154,14 @@ public class WS2812Layout extends JFrame {
|
|||||||
super(""+character);
|
super(""+character);
|
||||||
setFont(new Font("Dialog", Font.BOLD, 24));
|
setFont(new Font("Dialog", Font.BOLD, 24));
|
||||||
setHorizontalAlignment(CENTER);
|
setHorizontalAlignment(CENTER);
|
||||||
|
//FIXME: Background color is not updated:
|
||||||
this.setBackground(Color.BLACK);
|
this.setBackground(Color.BLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setColor(int red, int green, int blue) {
|
public void setColor(int red, int green, int blue) {
|
||||||
this.setForeground(new Color(red, green, blue));
|
this.setForeground(new Color(red, green, blue));
|
||||||
this.update(this.getGraphics());
|
//FIXME changing the color is not working
|
||||||
//this.repaint();
|
this.repaint();
|
||||||
System.out.println( this.toString());
|
System.out.println( this.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user