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 132818 - Wrong indentation upon creating event handlers
Summary: Wrong indentation upon creating event handlers
Status: RESOLVED DUPLICATE of bug 123094
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 23:39 UTC by roger_rf
Modified: 2008-04-15 09:56 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 roger_rf 2008-04-14 23:39:14 UTC
Hi,
In NB 6.1 RC1, when you create a new event handler for a component - say, ActionPerformed for a JButton - the method
created to handle the event will not respect the indentation settings of the editor. I get the following:

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

It should be the following:

  private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
  // TODO add your handling code here:
  }

NB 6.0 doesn't show this incorrect behavior. Cheers,
Roger
Comment 1 Jana Maleckova 2008-04-15 09:56:22 UTC

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