final JTextArea description = new JTextArea(3,25);\r
final JSpinner start = new JSpinner();\r
final JSpinner end = new JSpinner();\r
+ start.setPreferredSize(new Dimension(80,20));\r
+ end.setPreferredSize(new Dimension(80,20));\r
final JPanel colour = new JPanel();\r
colour.setBorder(BorderFactory.createEtchedBorder());\r
colour.setMaximumSize(new Dimension(40,10));\r
bigPanel.add(panel, BorderLayout.SOUTH);\r
\r
panel = new JPanel();\r
- panel.add(new JLabel(" Start: ", JLabel.RIGHT));\r
+ panel.add(new JLabel(" Start:", JLabel.RIGHT));\r
panel.add(start);\r
- panel.add(new JLabel(" End: ", JLabel.RIGHT));\r
+ panel.add(new JLabel(" End:", JLabel.RIGHT));\r
panel.add(end);\r
bigPanel.add(panel, BorderLayout.CENTER);\r
}\r