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 26955

Summary: Switching between AQUA and default layout changes background
Product: guibuilder Reporter: Arjan Bos <zaaf>
Component: CodeAssignee: Bruce Lee <blee>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Arjan Bos 2002-09-02 12:49:38 UTC
Switching between AQUA and default layout changes 
background of a form to default.

What I did was the following:

Create a new form JDialog, with the option from the pop-up 
menu. 
Added a JPanel. 
Sized it so that is covered the whole JDialog. 
Changed the background color of the panel to [255,255,255].
Compiled and ran the Dialog. => background is white (as 
was expected).
Added a JLabel. => background is now transparent.
Quited NetBeans.
With the NetBeansLauncher changed the lay-out to default.
Re-started NetBeans.
Re-opened the form for the newly created JDialog.
Re-ran it. => background is now [204,204,204]

How can this be?
Comment 1 Tomas Pavek 2002-09-02 16:03:39 UTC

*** This issue has been marked as a duplicate of 26953 ***
Comment 2 Arjan Bos 2003-07-10 07:36:22 UTC
Thanks, it does work now!