Add orange borders to the printed boxes

This commit is contained in:
regar42 committed 2017-12-16 13:15:25 +01:00
1 parent 892d7e6ff3
commit 40c05909e6
1 file changed
+4
+4
View File
@@ -3,6 +3,7 @@ package ui;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.BorderFactory;
public abstract class DrawingBox extends JPanel {
@@ -16,5 +17,8 @@ public abstract class DrawingBox extends JPanel {
setBackground(color);
setPreferredSize(new Dimension(40,40));
setBorder(BorderFactory.createLineBorder(Color.orange));
}
}