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 - Switching between AQUA and default layout changes background
Summary: Switching between AQUA and default layout changes background
Status: VERIFIED DUPLICATE of bug 26953
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Bruce Lee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-02 12:49 UTC by Arjan Bos
Modified: 2003-07-10 07:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!