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 147146 - Dialog - About Box Color
Summary: Dialog - About Box Color
Status: RESOLVED DUPLICATE of bug 36710
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 22:38 UTC by malcolmdavis
Modified: 2008-09-17 15:46 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 malcolmdavis 2008-09-12 22:38:51 UTC
When creating a new application, unable edit the background color of the AboutBox Dialog.

When selecting and saving the background color, it returns null for the property selection.

The background color will save custom code, but the custom code does not seem to impact the preview or application mode.
Comment 1 Jan Stola 2008-09-15 10:58:14 UTC
> When creating a new application, unable edit the background color of the AboutBox Dialog.
> When selecting and saving the background color, it returns null for the property selection.

I am sorry, I am not able to reproduce your problem. Could you, please, provide more details? It would be ideal to 
describe exact steps to reproduce and emphasize the actual versus expected behaviour.

Note that this is probably a duplicate of issue 36710. The background property of JDialog doesn't change the visible 
background color of the dialog (yes, it is silly, but that is how javax.swing.JDialog is implemented). See issue 36710 
for details.

> but the custom code does not seem to impact the preview or application mode.

Yes, we are unable to evaluate any custom code in design time. It affects the application in run-time only.
Comment 2 malcolmdavis 2008-09-15 15:55:46 UTC
Looks like you are correct.  

The AboutBox Iā€™m talking about is part of the Java Desktop Application under Projects.  The AboutBox is a JDialog.  

Recommendation:
a.  Change the AboutBox to have a JPanel for the controls, rather than a straight inclusion into the JDialog.

b.  Remove the background properties option for a JDialog.

Comment 3 Jan Stola 2008-09-17 15:46:44 UTC

*** This issue has been marked as a duplicate of 36710 ***