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 199952 - LaF of Netbeans affects possibilities of Preview Design
Summary: LaF of Netbeans affects possibilities of Preview Design
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 16:16 UTC by asenk
Modified: 2011-07-15 13:43 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 asenk 2011-07-07 16:16:05 UTC
When netbeans runs on some LaF menu Preview Desing contains different items:

Laf:Nimbus
menu items:
-Metal
-CDE/Motif

Laf:Metal
menu items:
-Metal
-Nimbus
-CDE/Motif
-GTK+

Laf:GTK
menu items:
-Metal
-CDE/Motif
GTK+
Comment 1 Jan Stola 2011-07-15 13:43:19 UTC
This is as designed.

The current implementation of the preview in another look and feel is just a set of hack that somehow work in some cases (there is not standard/clean way to have two look and feels simultaneously in one Java application).

On the other hand, we know that it doesn't work in other cases. For example, we are unable to preview in another SynthLookAndFeel when the IDE is running in some SynthLookAndFeel. GTK and Nimbus are both synth look and feels. Hence, it is not possible to preview in GTK when IDE runs on Nimbus and vice versa.