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 80767 - Refactor-> Rename don't rename guarded block on swing forms
Summary: Refactor-> Rename don't rename guarded block on swing forms
Status: RESOLVED DUPLICATE of bug 48288
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 00:12 UTC by brviking
Modified: 2007-04-03 18:02 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 brviking 2006-07-21 00:12:17 UTC
Steps to reproduce:

1) Create a JPanel.
2) Add some JButtons to it.
3) Add some actions to JButtons.
4) Save, compile. Every thing is ok.
5) Refactor -> Rename class -> to name "SomethingElse". Select "apply on
comments" (don't know if this make difference), click DoRefactoring.
6) Try to recompile. Guarded block still with old names, and there is no chance
to the user correct this, because it's a guarded block (except going out from
IDE, editing with, let's say, notepad, then going back and CTRL+R).
Comment 1 Jiri Prox 2006-07-21 09:11:08 UTC
You're right, it's known problem, thanks for your report.

*** This issue has been marked as a duplicate of 48288 ***