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.
UI controls in NetBeans use a different font than the default one on Windows Vista. We should take the preemptive step of setting the font correctly ourselves on Vista. NetBeans *caused* a lot of the complaints about Swing looking unnatural back in the pre 3.6 days. Those complaints are pretty quiet today. We shouldn't give any reason for that to start up again.
i don't think this is a show stopper for release55
I'd beg to disagree: NetBeans 5.5 is the first NB release likely to be heavily used on Vista. We don't want all of those nasty "Swing sucks, they can't even do native UI fidelity - all the apps look weird and alien - just look at NetBeans!" stuff to come back. It will come back. We're talking about a trivial amount of code here - come on, we can do this.
I tend to agree with Tim. I know we are in HR but if the fix is really simple, I vote for integration.
ok, i'll look at it with dafe when he's back from vacations. but netbeans will *never* look good on windows vista & jdk1.5 - the editor and view tabs are using xp look and feel in this case. so wrong fonts in the menu are just a minor issue i think:)
If you can detect vista to set the font correctly on 1.5, shouldn't you be able to use the same logic to detect vista to set the tab UI delegates?
Created attachment 34083 [details] notepad on windows vista
Created attachment 34084 [details] swingset on windows vista, jdk1.5_09ea
Created attachment 34085 [details] netbeans on windows vista, jdk1.5_09ea, antialiasing on
use vista ui for tabs & output also when running on jdk1.5 Checking in swing/plaf/src/org/netbeans/swing/plaf/Startup.java; /cvs/core/swing/plaf/src/org/netbeans/swing/plaf/Startup.java,v <-- Startup.java new revision: 1.19; previous revision: 1.18 done Checking in output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java; /cvs/core/output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java,v <-- CloseButtonTabbedPane.java new revision: 1.14; previous revision: 1.13 done
Created attachment 34088 [details] patch for release55
i think the font in netbeans' menu bar is more or less correct. see the attached screenshots to compare vista notepad, swingset demo and netbeans ide running with aa turned on. tuning the font might be a bit dangerous as there's only windows vista *beta* and jdk1.5_09 doesn't fully recognize the vista anyway. if i fix the font now then the ide may look even worse when the final vista is released. i'll just fix the ui to use vista style also when running on jdk1.5 which is a simple fix (see the attached patch) and improves the look and feel a lot.
fixed in release55_dev branch Checking in output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java; /cvs/core/output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java,v <-- CloseButtonTabbedPane.java new revision: 1.8.68.2.14.2; previous revision: 1.8.68.2.14.1 done Checking in swing/plaf/src/org/netbeans/swing/plaf/Startup.java; /cvs/core/swing/plaf/src/org/netbeans/swing/plaf/Startup.java,v <-- Startup.java new revision: 1.14.12.1.2.1.14.2; previous revision: 1.14.12.1.2.1.14.1 done
patch reviewed, OK.
fixed in release55 branch Checking in swing/plaf/src/org/netbeans/swing/plaf/Startup.java; /cvs/core/swing/plaf/src/org/netbeans/swing/plaf/Startup.java,v <-- Startup.java new revision: 1.14.12.1.2.3; previous revision: 1.14.12.1.2.2 done Checking in output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java; /cvs/core/output2/src/org/netbeans/core/output2/ui/CloseButtonTabbedPane.java,v <-- CloseButtonTabbedPane.java new revision: 1.8.68.4; previous revision: 1.8.68.3 done
verified