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 76363 - Wrong scroll pane borders in all dialogs on Windows XP
Summary: Wrong scroll pane borders in all dialogs on Windows XP
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2006-05-15 09:53 UTC by jrojcek
Modified: 2008-12-22 11:59 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Wrong border in Categories and Projects scroll panes. (41.92 KB, image/png)
2006-05-15 09:54 UTC, jrojcek
Details
Correct border in Background scroll pane in native XP dialog. (70.44 KB, image/png)
2006-05-15 09:55 UTC, jrojcek
Details
java platform manager on linux / jdk1.5 (15.68 KB, image/png)
2007-02-19 10:13 UTC, Sherold Dev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jrojcek 2006-05-15 09:53:23 UTC
The scroll pane border on windows XP is wrong in all dialogs that use tree view
or list view.
Comment 1 jrojcek 2006-05-15 09:54:12 UTC
Created attachment 30394 [details]
Wrong border in Categories and Projects scroll panes.
Comment 2 jrojcek 2006-05-15 09:55:11 UTC
Created attachment 30395 [details]
Correct border in Background scroll pane in native XP dialog.
Comment 3 David Simonek 2006-05-15 10:14:51 UTC
- 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?)
Comment 4 jrojcek 2006-05-15 14:00:22 UTC
- 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.
Comment 5 Stanislav Aubrecht 2007-01-09 17:47:44 UTC
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
Comment 6 Stanislav Aubrecht 2007-01-10 10:25:31 UTC
subversion

/cvs/subversion/main/src/org/netbeans/modules/subversion/ui/browser/BrowserPanel.java,v
 <--  BrowserPanel.java
new revision: 1.21; previous revision: 1.20
Comment 7 Stanislav Aubrecht 2007-01-10 10:43:01 UTC
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
Comment 8 Stanislav Aubrecht 2007-01-10 10:55:23 UTC
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

Comment 9 Stanislav Aubrecht 2007-01-10 10:58:17 UTC
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.
Comment 10 Maros Sandor 2007-01-10 14:17:40 UTC
saubrecht: do not worry, just make all files you need read-write
Comment 11 Stanislav Aubrecht 2007-01-10 14:24:33 UTC
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
Comment 12 Sherold Dev 2007-02-19 10:11:50 UTC
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.
Comment 13 Sherold Dev 2007-02-19 10:13:03 UTC
Created attachment 38651 [details]
java platform manager on linux / jdk1.5
Comment 14 Stanislav Aubrecht 2007-03-20 12:04:13 UTC
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