Attempt to fix focus problem. Fixed path selection

This commit is contained in:
2015-04-08 11:48:29 +02:00
parent 701f2aed4b
commit 0c9d41585c
4 changed files with 37 additions and 3 deletions
+2 -1
View File
@@ -26,10 +26,11 @@ public class ControlPanel extends JPanel
super();
BoxLayout box = new BoxLayout(this, BoxLayout.X_AXIS);
setLayout(box);
setPreferredSize(new Dimension(0,50));
setBorder(BorderFactory.createLineBorder(new Color(180, 180, 180)));
setBackground(new Color(220, 220, 220));
setFocusable(false);
JPanel simulatorPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
simulatorPanel.setPreferredSize(new Dimension(350,50));