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 201515 - Unable to save JPanel form in design view
Summary: Unable to save JPanel form in design view
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 14:13 UTC by mienamoo
Modified: 2011-09-09 08:20 UTC (History)
1 user (show)

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 mienamoo 2011-09-01 14:13:26 UTC
I am using NetBeans IDE Dev (Build 201108300601) and JDK 7 b147.

When editing a JPanel form in the GUI builder in Design View, I am unable to save the form, i.e. the save action is disabled. In Source View, I can save as usual.

Steps to reproduce:

1. Create a NetBeans platform module.
2. Create a new JPanel form in the module.
3. Drag any component onto the form from the palette, for example a label.
4. Try to save the form (while still in Design View) - either with Ctrl+S or the action on the menu bar. Both are incorrectly disabled.
5. Switch to source view. Here you should be able to save.
Comment 1 asenk 2011-09-05 11:04:52 UTC
Product Version: NetBeans IDE Dev (Build 201109040600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)

Reproducible on Ubuntu.
Comment 2 Jan Stola 2011-09-05 14:30:01 UTC
Fixed.

Modified file: http://hg.netbeans.org/jet-main/rev/6afd2739bc31
Comment 3 mienamoo 2011-09-09 08:20:36 UTC
Verified in build 201109080600.