This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 119069 - Method o.o.util.Utilities.isLargeFrameIcons is useless
Summary: Method o.o.util.Utilities.isLargeFrameIcons is useless
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 16:05 UTC by mslama
Modified: 2008-12-22 11:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (3.59 KB, text/plain)
2007-10-23 14:58 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2007-10-16 16:05:56 UTC
Please make this deprecated. I removed its usage in core/window system and core/startup.
Comment 1 Jaroslav Tulach 2007-10-18 13:47:55 UTC
Marku, feel free to deprecate it yourself.
Comment 2 mslama 2007-10-23 14:58:10 UTC
Javadoc says: Test whether the operating system supports icons on frames (windows). But window system used this method
to decide if small 16x16 or bigger 32x32 icon should be used for frame (main window). So usage and Javadoc is
inconsistent.            All OS support small icon in frame. From JDK 6 it is possible to set multiple size icons for
frame so OS WM selects appropriate size. I removed useless usage of this method from window system code and this method
is not used elsewhere.
Comment 3 mslama 2007-10-23 14:58:43 UTC
Created attachment 51498 [details]
Patch
Comment 4 mslama 2007-10-23 16:49:38 UTC
Modified:
/cvs/openide/util/apichanges.xml
new revision: 1.27; previous revision: 1.26

/cvs/openide/util/nbproject/project.properties
new revision: 1.29; previous revision: 1.28

/cvs/openide/util/src/org/openide/util/Utilities.java
new revision: 1.31; previous revision: 1.30