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 147025 - Wrong code formating after refractoring - renaming JPanel or JFrame components
Summary: Wrong code formating after refractoring - renaming JPanel or JFrame components
Status: VERIFIED DUPLICATE of bug 123094
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 07:18 UTC by Martin Fousek
Modified: 2008-09-22 07:38 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 Martin Fousek 2008-09-12 07:18:51 UTC
Product Version: NetBeans IDE Dev (Build 200809101401)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

Observed:
I rename some JPanel Components with the help of refractoring and the code formating is wrong.

Steps to reproduce:
1, create new Java Project
2, create new JFrame or JPanel
3, in design give any component into you JF or JP for example Button
4, create some events for your component
5, in "Source" rightclick on this line "private javax.swing.JButton jButton1;" on "jButton1" and invoke refrector->rename
6, change the name and click OK
-> the braces are on the wrong place (at the start of lines, but it could be behind one TAB)
Comment 1 Jan Stola 2008-09-12 07:41:05 UTC

*** This issue has been marked as a duplicate of 123094 ***
Comment 2 Martin Fousek 2008-09-22 07:38:54 UTC
Verified.