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 77496

Summary: unexpected convert-undeclared-variable-to-field refactoring behaviour
Product: java Reporter: hefest <hefest>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description hefest 2006-06-07 08:37:17 UTC
The field declaration is - when refactoring an undeclared variable
to a field - created at the begining of the class when it's a POJO
definition, but at the end of the class when it's a visual (JPanel)
class.
I suggest it be configurable if possible or just plain consistent
(simpler to implement, I expect) - this would make the refactoring capability
noticably more effective.
Comment 1 Jiri Prox 2006-06-07 09:05:05 UTC
It rather an enhancement. 
Reassigning to java/hints