optionsPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
optionsPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 5));
		private JPanel createOptionsPanel() {			JPanel optionsPanel = new JPanel();			optionsPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));			cbRandomBrush = new JCheckBox("Random");			cbRandomBrush.setToolTipText("Make brush paint randomly within the shape area");			cbRandomBrush.addChangeListener(this);			cbRandomBrush.addActionListener(this);			sRandomAmount = new JSlider();			sRandomAmount.setToolTipText("The amount of area to fill with randomness");			sRandomAmount.addChangeListener(this);			JLabel affected = new JLabel("Affected layers");			affectLayers = new IntegerSpinner();			affectLayers.setValue(myBrush.getAffectedLayers());			affectLayers.addChangeListener(this);						optionsPanel.setLayout(new GridBagLayout());	        GridBagConstraints c = new GridBagConstraints();	        c.fill = GridBagConstraints.BOTH;	        c.weightx = 1; c.weighty = 1;			optionsPanel.add(affected,c);			c.gridx = 1;			optionsPanel.add(affectLayers,c);			c.gridx = 0; c.gridy = 1;			optionsPanel.add(cbRandomBrush,c);			c.gridx = 1;			optionsPanel.add(sRandomAmount,c);						return optionsPanel; 		}