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 223200 - Using JXTaskPaneContainer from SwingX prevents forms from being saved
Summary: Using JXTaskPaneContainer from SwingX prevents forms from being saved
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-03 19:14 UTC by hantwister
Modified: 2012-12-03 21:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Excerpt from messages.log (21.45 KB, text/plain)
2012-12-03 19:14 UTC, hantwister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hantwister 2012-12-03 19:14:04 UTC
Created attachment 128799 [details]
Excerpt from messages.log

Tested using NetBeans 7.3B2; tested using SwingX 1.6.4.

At any time after a JXTaskPaneContainer is added to a GUI Builder form:
-If you try to save the form with Ctrl+S or a similar gesture:
--The status bar at the bottom of the IDE window claims the form is saved.
--The file name in the tab for the form is still bold, implying that the form is not saved.
--Looking at the file on the drive, the form was not saved, contrary to the message in the status bar.
-If you choose to close the form, you are prompted if you want to save.
--If you choose to save the form when prompted, an exception is displayed.
--The discard and cancel buttons of the save form prompt work as expected.

Reproduction steps:
-Create a new form.
-Drag a JXTaskPaneContainer into the form.
-Try to save the form.

Expected behavior: At the least, the status bar shouldn't claim the form was saved when it wasn't. Preferably, an error message would appear when NetBeans couldn't save the form for whatever reason at any time. Ideally, NetBeans would properly save the form.

messages.log excerpts attached.
Comment 1 Tomas Pavek 2012-12-03 21:13:36 UTC
I think this was fixed just recently as part of:
http://hg.netbeans.org/jet-main/rev/1196c3966367

The fix did not make it to beta 2. You can try the latest daily build to verify.