setLocationRelativeTo(parent);
}
private JPanel createShapePanel() {
// Brush presets
brushes = new BrushBrowser();
JScrollPane brushScrollPane = new JScrollPane(brushes);
brushScrollPane.setPreferredSize(new Dimension(100, 100));
brushes.addPropertyChangeListener(this);
brushes.setSelectedBrush(myBrush);