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 115221

Summary: New action is missing method name in code
Product: guibuilder Reporter: Jiri Prox <jiriprox>
Component: App FrameworkAssignee: Joshua Marinacci <jmarinacci>
Status: VERIFIED FIXED    
Severity: blocker CC: arseniy
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2007-09-11 10:08:00 UTC
Product Version: NetBeans IDE Dev (Build 070911) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b02 System: Linux
version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /home/jp159440/.netbeans/dev

When new action is created in action editor, the method implementing this action is missing name. This makes the code
not compilable.

Steps to reproduce:
1) create new JDA
2) add new action
-> following code is inserted:
    @org.jdesktop.application.Action(name="metoda")
    public void () {
        // put your action code here
    }
Comment 1 arseniy 2007-09-11 17:46:33 UTC
seems to be a regression from the previous build (070910), where this worked correctly. 
works in the Beta1 build.
Comment 2 Joshua Marinacci 2007-09-11 19:00:47 UTC
This is fixed now.
Comment 3 Jiri Prox 2007-09-12 08:34:18 UTC
verified in 
Product Version: NetBeans IDE Dev (Build 070912) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b02 System: Linux
version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /home/jp159440/.netbeans/dev
Comment 4 Jana Maleckova 2007-11-22 14:53:30 UTC
tested on
NetBeans IDE 6.0 RC2 (Build 200711201000)