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 1359 - Item "Save" in menu File is disabled when editor is in single view.
Summary: Item "Save" in menu File is disabled when editor is in single view.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-03-26 01:51 UTC by L Martinek
Modified: 2008-12-23 11:51 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 L Martinek 1999-03-26 01:51:45 UTC
When Editor is in single view, "Save" item in menu and save icon are disabled. After docking editor into multi-tab view, "Save" is enabled.
Also Compile, Go, Trace into, Execute, Build, Properties are inactive for single view Editor.

[Libor] This still occures.
When editor is in multi-tab view, "Save" and "Save All` is enabled. After undocking only "Save All" is enabled and "Save" is disabled. If I do any change to source "Save All" becomes enabled but if I
click on it, this exception is thrown:

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 0
	at com.netbeans.ide.actions.SaveAction.performAction(SaveAction.java:48)
	at com.netbeans.ide.util.actions.NodeAction.performAction(NodeAction.java:87)
	at com.netbeans.ide.util.actions.NodeAction.actionPerformed(NodeAction.java:78)

	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
	at com.netbeans.ide.awt.EnabledButtonModel.setPressed(EnabledButtonModel.java:85)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:217)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
	at java.awt.Component.processMouseEvent(Compiled Code)
	at java.awt.Component.processEvent(Compiled Code)
	at java.awt.Container.processEvent(Compiled Code)
	at java.awt.Component.dispatchEventImpl(Compiled Code)
	at java.awt.Container.dispatchEventImpl(Compiled Code)
	at java.awt.Component.dispatchEvent(Compiled Code)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
	at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
	at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
	at java.awt.Container.dispatchEventImpl(