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.
Product Version = NetBeans IDE 7.2 (Build 201207171143) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_07 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Created attachment 130505 [details] IDE log
Having an issue where the IDE marks it's own generated code (JFrame Form file) as an error. At this line: "private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {" (generated by the IDE) it says "illegal start of expression"
Could you please attach the file here and reopen ? Thanks in advance.
We need to see the GUI form where this happens, or even better have steps how to reproduce it. Thanks.
To reproduce: Create new GUIFormExamples Project from Templates. Open "Find.java" Right click "Find" button Select "Events | Action | actionPerformed" Created handler's source is private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { //GEN-FIRST:event_jButton1ActionPerformed private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: }//GEN-LAST:event_jButton1ActionPerformed
Created attachment 147329 [details] screenshot of IDE editor
Created attachment 147330 [details] IDE log
Created attachment 147331 [details] corrupted source file
Created attachment 147332 [details] matching form file
Comment on attachment 147332 [details] matching form file look fine to me
(In reply to ttampe from comment #5) > To reproduce: > Create new GUIFormExamples Project from Templates. > > Open "Find.java" > Right click "Find" button > Select "Events | Action | actionPerformed" > > Created handler's source is > > private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { > //GEN-FIRST:event_jButton1ActionPerformed > private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) > { > // TODO add your handling code here: > }//GEN-LAST:event_jButton1ActionPerformed still wrong with Product Version: NetBeans IDE 8.2 (Build 201609300101) Java: 1.8.0_112; Java HotSpot(TM) 64-Bit Server VM 25.112-b15 Runtime: Java(TM) SE Runtime Environment 1.8.0_112-b15 System: Windows 8.1 version 6.3 running on amd64; Cp1252; de_DE (nb)