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 48137

Summary: [WinClassis] Main toolbar appearance isn't according to UI spec
Product: platform Reporter: jrojcek <jrojcek>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: CLOSED FIXED    
Severity: blocker CC: dpavlica, dsimonek
Priority: P3 Keywords: L&F
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: Toolbar bugs in win classic L&F.
Bug fix

Description jrojcek 2004-08-30 10:26:14 UTC
Please tweak the appearance of the main toolbar in win classic 
L&F according to the UI spec.

The difference between the implementation and specification 
includes (pointed out in the attached image):

1)
Implementation: No left etched border is in the main toolbar.
Specification: An etched border is around the whole main 
toolbar.

2)
Implementation: No right etched border in the main toolbar.
Specification: An etched border is around the whole main 
toolbar.

3)
Implementation: A heavy bottom border in the main toolbar.
Specification: An etched border is around the whole main 
toolbar.

4)
Implementation: A double drag texture is in the main toolbar.
Specification: A single drag texture is in the main toolbar.
Comment 1 jrojcek 2004-08-30 10:27:47 UTC
Created attachment 17209 [details]
Toolbar bugs in win classic L&F.
Comment 2 David Simonek 2004-09-20 13:46:49 UTC
Passing to Stan.
Comment 3 Stanislav Aubrecht 2004-09-20 16:10:02 UTC
Created attachment 17760 [details]
Bug fix
Comment 4 Stanislav Aubrecht 2004-09-20 16:10:38 UTC
dafe, review my bugfix pls
Comment 5 David Simonek 2004-09-21 14:48:06 UTC
Yes, patch looks OK, but what about isXPTheme method? It looks like
you copied it from somewhere, didn't you? IMO it would be better to
just call some shared public static impl of this method. If this is
not possible for some reason, note that in javadoc please. Thx.
Comment 6 Stanislav Aubrecht 2004-09-22 14:55:36 UTC
i couldn't reuse the ixXPTheme method because it is declared private.
i added a note to javadoc.
Comment 7 Zdenek Konecny 2005-07-19 14:55:57 UTC
Verified in NetBeans 4.2 Build 200507181000, JDK 1.6.0-ea