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.
Summary: | Having an issue where the IDE marks it's own generated code as an error. | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Enzima |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | ttampe |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
screenshot of IDE editor IDE log corrupted source file matching form file |
Description
Enzima
2013-01-23 00:57:33 UTC
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) |