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 81132

Summary: "Save All" Button on the toolbar doesn't work for gui(form) editors
Product: java Reporter: ilvisne <ilvisne>
Component: EditorAssignee: Jan Pokorsky <jpokorsky>
Status: RESOLVED FIXED    
Severity: blocker CC: issues
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description ilvisne 2006-07-26 09:05:55 UTC
I am using NB 5.5 Beta 2. 

Problem: If i edit, change a JPanel or add some component to a JPanel, i have to
click twice"Save All" Button on the toolbar to save it. After first click,
button is disabled and then immediately again activated without saving. After
second click does it, what it has to do. i think, this problem concerns only gui
editor, because "save all" works fine for textual editors.
Comment 1 Tomas Pavek 2006-07-26 12:55:33 UTC
Caused by recent fix of issue 79363. I think it happens only if you save a form
in which you added a new event handler since opening or last save - then it is
reloaded after save and marked modified. Reassigning to java editor.
Comment 2 ilvisne 2006-07-26 14:44:28 UTC
>I think it happens only if you save a form
>in which you added a new event handler

No. I have created a new JPanel and added a jlabel. after that i clicked "Save
All". the same error happens still.
Comment 3 Tomas Pavek 2006-07-26 15:20:06 UTC
You are right, it happens still, but only with Save All. Saving just the file 
works ok. Also Save All seems to work fine in 6.0 dev.
Comment 4 Tomas Pavek 2006-12-19 14:45:23 UTC
*** Issue 91270 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Pavek 2006-12-19 14:48:55 UTC
*** Issue 91271 has been marked as a duplicate of this issue. ***
Comment 6 Jan Pokorsky 2007-05-14 16:39:40 UTC
[nb 070514, jdk 1.5.0_10]

In NB6.0 the infrastructure that handles loading/storing java files was
rewritten. After these changes I cannot reproduce such a behavior. Closing as fixed.