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.
Popup menu item "Set Action ..." in project without appframework support is useless and confusing, especially for beginners. Is it possible to disable (hide) this item from popup menus in non-appframework projects? Or maybe cool solution would be "autocall" action "Events-> Action-> actionPerformed " after executing "Set Action ..." menu item in non-appframework project. Steps to reproduce .... - Create simple Java Application project - Add jframe - Add jbutton into jframe - Invoke popup menu above jbutton - Click "Set item ..." in popup menu of jbutton Beginner: Hmmm ..."Set action" for my button, well ... this is place, where I will add handler for button click, hmmm, oups, ..."Custom Editing of this Property is not supported" ... hmmm, what is disabled? ... it is first item in menu, action for button, it should be simple to add action for my button ... hmmm .... (user is confused) ;)
I agree this is bad. However, shouldn't it just call the normal action editor that is available in non- appframework projects?
Tomas has committed code which will prevent the 'set action..' menu item from being added to the context menu if the action property does not have a custom editor. This fixes the bug.
Verified Product Version: NetBeans IDE Dev (Build 200707190325) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)