Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.6
-
None
-
None
-
Netbeans 12.6, windows 10
Description
I was revising an old project from 2001-2006. It includes a number of swing forms created with the netbeans GUI editor. These forms can no longer be read correctly. I get an error message saying "Error while parsing java source file" see attachment below.
I think the cause of the problem is a change how guarded blocks are indicated. In the old files, there is a space after the "//", e.g.
// GEN-BEGIN:initComponents // GEN-FIRST:event_formKeyPressed
Whereas the current version seems to expect no space, e.g.
//GEN-BEGIN:initComponents //GEN-FIRST:event_formKeyPressed
The attached project has a number of examples of forms that can no longer be read correctly. The examples are in the directory src\main\java\jfreerails\client\view