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.
nb060614, jdk1.6 -when I select more then one field in a class and want to encapsulate these fields then the refactoring dialog select wrong fields -it select either the first one or all fields -it depends on the selection -both cases are in attachment. Look at the selection in editor carefully - when it is from start to end of line then it selects all fields.
Created attachment 31202 [details] lines selected from begin to end -> all fields checked
Created attachment 31203 [details] lines NOT selected from begin to end -> one fields checked
The encaps. fields depends only on caret position, if it placed over one field then this field is selected, otherwise all fields are selected. It doesn't respect selection in editor. There is already filed an enhancement about it. *** This issue has been marked as a duplicate of 64784 ***
ok, thank you for prompt evaluation.