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 - unexpected convert-undeclared-variable-to-field refactoring behaviour
Summary: unexpected convert-undeclared-variable-to-field refactoring behaviour
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 08:37 UTC by hefest
Modified: 2013-09-02 14:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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