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 96771 - Nonreversible action change
Summary: Nonreversible action change
Status: CLOSED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Joshua Marinacci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 12:36 UTC by Jiri Vagner
Modified: 2007-08-10 14:13 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 Jiri Vagner 2007-02-28 12:36:07 UTC
After setting action to "<NONE>" and pressing OK button, action editor generates
invalid code into initComponents() method ...

       
createToolBarButton.setAction(application.ApplicationContext.getInstance().getActionMap(null.class,
this).get("< NONE >"));

After this issue, list of available methods in Action editor contains only
"<NONE>" item.


NetBeans IDE Dev (Build 061123)
NetBeans-form_promoh-070227.zip
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250

Steps to reproduce:
Create Java Desktop Basic aplication
Start Action editor for createToolBarButton button
Set <NONE> method
Press OK
Press Source button and find invalid generated code
Goto Design button, run Action editor again and check method list.
Comment 1 Joshua Marinacci 2007-03-01 01:04:53 UTC
I am not able to reproduce this.  When I select the <NONE> method there is no generated code produced 
for that button's action.  If there was generated code before (for a non-null action) that code is removed 
when I switch to <NONE>.  Can you still reproduce this with the latest code from CVS?
Comment 2 Joshua Marinacci 2007-03-19 17:24:30 UTC
I cannot reproduce this anymore.
Comment 3 Jiri Vagner 2007-08-10 14:13:02 UTC
I cannot reproduce this anymore too. Strange bug with very bad description. -> Closed