- Timestamp:
- 2016-07-26T00:28:24+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageResource.java
r10464 r10642 198 198 //Use default Swing functionality to make icon look disabled by applying grayscaling filter. 199 199 Icon disabledIcon = UIManager.getLookAndFeel().getDisabledIcon(null, new ImageIcon(bimg)); 200 if (disabledIcon == null) { 201 return null; 202 } 200 203 201 204 //Convert Icon to ImageIcon with BufferedImage inside
Note:
See TracChangeset
for help on using the changeset viewer.