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 199036 - Preview in grid designer uses the last selected look and feel
Summary: Preview in grid designer uses the last selected look and feel
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P4 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 13:41 UTC by Jan Stola
Modified: 2011-05-31 14: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 Jan Stola 2011-05-31 13:41:59 UTC
Steps to reproduce:

1. Create new JFrame form.
2. Set the layout of the JFrame to GridBagLayout.
3. Insert JButton into the form.
4. Preview the JFrame in Motif look and feel
   (Invoke Preview Design > CDE/Motif from the context menu of the JFrame).
5. Close the preview.
6. Open grid designer (Invoke Customize Layout from the context menu).
7. Invoke Test Layout action from grid designer's toolbar
   => the JFrame is preview in Motif look and feel, but this is incorrect.
   It should be previewed in IDE's look and feel.
Comment 1 Jan Stola 2011-05-31 14:43:58 UTC
Fixed.

Modified file: http://hg.netbeans.org/jet-main/rev/a041dc0ce2ca