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.
Demonstration of expected behavior: With a project created via [File] --> [New Project] --> [Java] --> [Java Desktop Application]. Creating a JPanel, editing it in "Design" view, adding a JButton, and right clicking on that JButton, the context menu provides "Set Action" as an option. Problem: When a Maven-based Desktop App project is used, the "Set Action" option is not available! To replicate defect: See [File] --> [New Project] --> [Maven] --> [Maven Project] --> [Swing Application Framework...] Creating a JPanel, editing it in "Design" view, adding a JButton, and right clicking on that JButton, the context menu DOES NOT provide "Set Action" as an option. Known work-around: Don't use Maven-based project.
no idea what the action does and why it's not on maven based projects, reassigning to form
I am sorry, I am not able to reproduce this issue. I can see "Set Action" in the context menu of JButton even in a Maven project. Could you, please, provide more details about this issue? Does it happen also when you start NetBeans with a clean/new userdir? See http://wiki.netbeans.org/FaqWhatIsUserdir if you don't know what userdir is and http://wiki.netbeans.org/FaqAlternateUserdir to find out how to start NetBeans with a clean/new userdir.
Product Version: NetBeans IDE Dev (Build 200908100201) Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) I am not able to reproduce this either - the "Set Action" option is available. Kevingupton, please if you are still facing this problem, reopen the issue and try to add as much additional info as possible (NB and Java version, some custom setting of your IDE, etc) Thanks