}
try {
RegistryEditorPanel panel = new RegistryEditorPanel();
JFrame frame = new JFrame("Registry Editor");
Container contentPane = frame.getContentPane();
contentPane.setLayout(new BorderLayout());
contentPane.add(panel, BorderLayout.CENTER);
//frame.setMinimumSize(new Dimension(480, 320)); // doesn't seem to have any effect (at least in linux), and is not 1.4-compatible anyway.
frame.setSize(640, 480);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
catch (Exception e) {
logger.log(Level.WARNING, "" + e, e);
}
}