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.
The scroll pane border on windows XP is wrong in all dialogs that use tree view or list view.
Created attachment 30394 [details] Wrong border in Categories and Projects scroll panes.
Created attachment 30395 [details] Correct border in Background scroll pane in native XP dialog.
- build info? - any difference when JDK 1.5 and JDK 1.6 beta is used? - How does the list and tree look in Swingset2 demo? (read: is the bug in netbeans or Swing itself?)
- build info? NetBeans IDE Dev (Build 200605111800) 1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b84 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 - any difference when JDK 1.5 and JDK 1.6 beta is used? I think on JDK 1.5 it is the same, but better check yourself. - How does the list and tree look in Swingset2 demo? (read: is the bug in netbeans or Swing itself?) Scroll pane in Swingset2 looks like the native scroll pane. Check the List Demo in Swingset2. AFAIK, the module writers use the ListView or TreeView components which by default have no border, which looks bad, so they just set it to EtchedBorder or something like that. But the EtchedBorder is not correct scroll pane border in some L&Fs. It's not correct on Win Classic, Win XP, Mac OSX. I haven't checked other L&Fs.
fixed new project wizard Checking in TemplatesPanelGUI.form; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.form,v <-- TemplatesPanelGUI.form new revision: 1.10; previous revision: 1.9 done Checking in TemplatesPanelGUI.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java,v <-- TemplatesPanelGUI.java new revision: 1.43; previous revision: 1.42 done
subversion /cvs/subversion/main/src/org/netbeans/modules/subversion/ui/browser/BrowserPanel.java,v <-- BrowserPanel.java new revision: 1.21; previous revision: 1.20
Checking in ServersCustomizer.form; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.form,v <-- ServersCustomizer.form new revision: 1.6; previous revision: 1.5 done Checking in ServersCustomizer.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.java,v <-- ServersCustomizer.java new revision: 1.12; previous revision: 1.11 done
Checking in PlatformsCustomizer.form; /cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.form,v <-- PlatformsCustomizer.form new revision: 1.12; previous revision: 1.11 done Checking in PlatformsCustomizer.java; /cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.java,v <-- PlatformsCustomizer.java new revision: 1.24; previous revision: 1.23 done
i've fixed all invalid borders i could find (except for java cvs which for some reason checked out as read-only, so reassigning...) please file a separate issues against appropriate components if you still encounter wrong borders.
saubrecht: do not worry, just make all files you need read-write
fixed in trunk /cvs/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/selectors/NodeOperation2.java,v <-- NodeOperation2.java new revision: 1.6; previous revision: 1.5
Reopening... There is no border on Linux after this fix, which looks pretty odd. See the attached screenshot. This fixed caused also inconsistency: java and server managers do not have borders, library, template and other managers do.
Created attachment 38651 [details] java platform manager on linux / jdk1.5
fixed Checking in ServersCustomizer.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.java,v <-- ServersCustomizer.java new revision: 1.13; previous revision: 1.12 done Checking in ServersCustomizer.form; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.form,v <-- ServersCustomizer.form new revision: 1.7; previous revision: 1.6 done /cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.form,v <-- PlatformsCustomizer.form new revision: 1.13; previous revision: 1.12 done Checking in PlatformsCustomizer.java; /cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.java,v <-- PlatformsCustomizer.java new revision: 1.25; previous revision: 1.24 done