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 5280 - Popup menu cannot be invoked in Editor.
Summary: Popup menu cannot be invoked in Editor.
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P2 normal (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-11 17:17 UTC by Daniel Prusa
Modified: 2007-11-05 13:44 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 Daniel Prusa 2000-01-11 17:17:38 UTC
The following Error is thrown after rightclick:
[mbalin] Still present. Using  JDK 1.3 R.

java.lang.Error: setAccelerator() is not defined for JMenu.  Use setMnemonic() instead.
	at javax.swing.JMenu.setAccelerator(JMenu.java:963)

	at com.netbeans.developer.modules.text.NbBuildPopupMenuAction.getItem(NbBuildPopupMenuAction.java:41)
	at com.netbeans.editor.view.DefaultBuildPopupMenuAction.buildPopupMenu(Compiled Code)
	at com.netbeans.editor.view.DefaultBuildPopupMenuAction.actionPerformed(DefaultBuildPopupMenuAction.java:47)
	at com.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:126)
	at com.netbeans.editor.ExtUI.showPopupMenu(ExtUI.java:778)
	at com.netbeans.editor.BaseCaret.mousePressed(BaseCaret.java:895)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.Component.processMouseEvent(Component.java:3123)
	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(Compiled Code)
	at java.awt.Window.dispatchEventImpl(Compiled Code)
	at java.awt.Component.dispatchEvent(Compiled Code)
	at java.awt.EventQueue.dispatchEvent(Compiled Code)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
Comment 1 Quality Engineering 2003-07-02 16:17:46 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.