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 60360

Summary: Need API for setting up rendering hints
Product: platform Reporter: _ tboudreau <tboudreau>
Component: Window SystemAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: jchalupa, mkrauskopf
Priority: P3 Keywords: API
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2005-06-22 03:47:13 UTC
Right now, rendering hints (for antialiasing, etc.) are configured all over the place in NetBeans.  As we 
can see with the 1.6 mustang situation, this can cause problems when requirements change.  
Additionally, for 1.6 subpixel antialiasing, it will need to be done via reflection, most likely, until 1.5 is 
no longer supported - we don't really want that code copied all over the codebase.

It would be much preferable to have one static utility method somewhere, i.e.

public static void setupAntialiasing (boolean textOnly);

that would simply do the Right Thing for the various platforms, etc.  Very simple to write.

Suggest org.openide.util.Utilities for lack of a better place (though it would be nice to have a place for 
Swing specific things like this, various fiddling NetBeans does with file choosers, etc.).