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.
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.
Fixed. Modified file: http://hg.netbeans.org/jet-main/rev/a041dc0ce2ca