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:
benfry
2002-08-02 16:27:14 +00:00
parent fbf187e1ac
commit eae67bdb9b
6 changed files with 75 additions and 17 deletions

View File

@@ -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);