Changeset 671 for AE/installer2/src/net/oni2/aeinstaller/gui
- Timestamp:
- Feb 10, 2013, 6:58:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r669 r671 20 20 21 21 import javax.swing.AbstractAction; 22 import javax.swing.Icon;23 22 import javax.swing.ImageIcon; 24 23 import javax.swing.JButton; … … 42 41 import net.oni2.aeinstaller.AEInstaller2; 43 42 import net.oni2.aeinstaller.backend.AppExecution; 43 import net.oni2.aeinstaller.backend.ImageResizer; 44 44 import net.oni2.aeinstaller.backend.Paths; 45 45 import net.oni2.aeinstaller.backend.Settings; … … 451 451 params.add(exe.getPath()); 452 452 final File wd = m.getWorkingDir(); 453 I con ico = null;453 ImageIcon ico = null; 454 454 if (m.getIconFile() != null && m.getIconFile().exists()) { 455 455 ico = new ImageIcon(m.getIconFile().getPath()); … … 459 459 ico = new ImageIcon(icon); 460 460 } 461 ico = ImageResizer.resizeImage(ico, 32, 32); 461 462 item.setAction(new AbstractAction(m.getName(), ico) { 462 463 private static final long serialVersionUID = 1L;
Note:
See TracChangeset
for help on using the changeset viewer.