emuStudio icon indicating copy to clipboard operation
emuStudio copied to clipboard

Replace custom ImageIcons with UIManager constants

Open vbmacher opened this issue 1 year ago • 0 comments

All toolbar icons (or other standard icons) should be using constants from UIManager instead of keeping icons in resources, e.g.:

btnBrowse.setIcon(UIManager.getIcon("Tree.openIcon"));

Then, emuStudio will set these icons globally:

Icon openIcon = new ImageIcon("open.gif");
UIManager.put("Tree.openIcon", openIcon);
...

vbmacher avatar Jun 20 '23 08:06 vbmacher