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.
JDK 1.5 b50, GTK. Menu items are antialiased. Output window subtab lavels are antialiased. Yet NB-provided tabs (inside Documents window, Projects, etc.) are not antialiased.
Created attachment 14792 [details] Screenshot #1
Created attachment 14793 [details] Screenshot #2
Interesting. Last I talked with anyone on the Swing team, antialiasing wasn't going to be supported in GTK on 1.5 for performance reasons. Guess someone changed their mind.
Radim, should the PERFORMANCE keyword be here? Turning on antialiasing to match the rest of the UI will *reduce* not increase performance...
I guess that's Radim's point - potential performance loss. However the total number of tab labels being displayed is pretty small so I think it's unlikely there would be any noticeable slowdown.
See Java bug summary for details. Should match desktop antialiasing settings, apparently.
Well, that's nice and straightforward. Hopefully it will be the same call on Windows (I'm not holding my breath).
Checking in src/org/netbeans/swing/tabcontrol/plaf/ColorUtil.java; /cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/ColorUtil.java ,v <-- ColorUtil.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/swing/tabcontrol/plaf/WinClassicEditorTabDisplayerU I.java; /cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/WinClassicEdit orTabDisplayerUI.java,v <-- WinClassicEditorTabDisplayerUI.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/swing/tabcontrol/plaf/WinClassicViewTabDisplayerUI. java; /cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/WinClassicView TabDisplayerUI.java,v <-- WinClassicViewTabDisplayerUI.java new revision: 1.8; previous revision: 1.7 done
Almost there... sliding window button labels are still not antialiased. The rest looks good.
Ah yes. Now what I'd *really* like is a straightforward call to do this on windows, etc. as well. Checking in src/org/netbeans/swing/tabcontrol/plaf/GtkSlidingButtonUI.java; /cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/GtkSlidingButtonUI.java,v <-- GtkSlidingButtonUI.java new revision: 1.2; previous revision: 1.1 done
verified in [nb_dev](200406291800)