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.
Summary: | Toolbar button should be rendered with anti-aliasing | ||
---|---|---|---|
Product: | ide | Reporter: | Jesse Glick <jglick> |
Component: | Logger | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2007-01-08 22:42:33 UTC
How one draws a circle to be anti-aliased? Pretty visible; P5 is inappropriate for something displayed at all times, I think. Just set the AA rendering hint before calling the draw circle method. Java2D should handle the rest. Re. the off-center line: also applies to the filled-in wedge, which is too far to the right. The wedge should also be drawn using AA or it looks bad. How do I set AA hint? I think ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); may do it. I got impatient so: Checking in SubmitAction.java; /shared/data/ccvs/repository/logger/uihandler/src/org/netbeans/modules/uihandler/SubmitAction.java,v <-- SubmitAction.java new revision: 1.4; previous revision: 1.3 done |