mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
X added icon to replace the coffee cup
X see if play being highlighted can be implemented again X especially important because of speed issues
This commit is contained in:
@@ -12,6 +12,7 @@ public class PdeBase implements ActionListener {
|
||||
static Properties properties;
|
||||
static Frame frame;
|
||||
static String encoding;
|
||||
static Image icon;
|
||||
|
||||
boolean errorState;
|
||||
PdeEditor editor;
|
||||
@@ -82,6 +83,11 @@ public class PdeBase implements ActionListener {
|
||||
public PdeBase() {
|
||||
frame = new Frame(WINDOW_TITLE);
|
||||
|
||||
try {
|
||||
icon = Toolkit.getDefaultToolkit().getImage("lib/icon.gif");
|
||||
frame.setIconImage(icon);
|
||||
} catch (Exception e) { } // fail silently
|
||||
|
||||
windowListener = new WindowAdapter() {
|
||||
public void windowClosing(WindowEvent e) {
|
||||
//System.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user