mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
adding color picker tool
This commit is contained in:
@@ -653,6 +653,14 @@ public class Editor extends JFrame
|
||||
});
|
||||
menu.add(item);
|
||||
|
||||
item = newJMenuItem("Color Picker", 'P', false);
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
new ColorPicker(Editor.this).show();
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
|
||||
item = new JMenuItem("Archive Sketch");
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user