Changeset 837

Show
Ignore:
Timestamp:
09/04/10 14:20:18 (17 months ago)
Author:
stefan
Message:

added an icon to the editor

Location:
trunk/src
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/JLatexEditorJFrame.java

    r835 r837  
    151151    Runtime.getRuntime().addShutdownHook(new ShutdownHook(this)); 
    152152 
    153     initFileChooser(); 
     153    initFileChooser(); 
     154 
     155    // set icon 
     156    try { 
     157      setIconImage(new ImageIcon(StreamUtils.readBytesFromInputStream(StreamUtils.getInputStream("images/icon_32.png"))).getImage()); 
     158    } catch (Exception e) { 
     159      e.printStackTrace(); 
     160    } 
    154161 
    155162    /*