fix layout issues with color picker

This commit is contained in:
benfry
2006-03-10 21:36:13 +00:00
parent 03c60aa701
commit 5848734f2e
3 changed files with 62 additions and 22 deletions
+5 -1
View File
@@ -656,7 +656,11 @@ public class Editor extends JFrame
item = newJMenuItem("Color Picker", 'P', false);
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
new ColorPicker(Editor.this).show();
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new ColorPicker(Editor.this).show();
}
});
}
});
menu.add(item);