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.
As example in the following constructor Action, KeyStroke and KeyEvent imports were not added public DeleteAction() { super("Delete"); putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0)); }
Created attachment 61648 [details] User Tasks modules
Work for me OK in current trunk, the imports were properly added to newly generated class (InnerToOuterTransformer.visitIdentifier is responsible). In case this issue is still reproducible, please reopen and provide detail steps to reproduce.
ok