Unless we can reproduce it or get a stack trace, you’ll get no responses.

Gj

On Wed, 23 Oct 2019 at 16:09, Peter Toye <netbe...@ptoye.com> wrote:

> More information on this. When I open the .java file in a text editor, the
> editor-fold lines have extra information
>
>   // <editor-fold defaultstate="collapsed" desc="Generated
> Code">//GEN-BEGIN:initComponents
> and
>   } // </editor-fold>//GEN-END:initComponents
>
> But these don't appear when I look at the file in NetBeans. I've done the
> same for a very simple project which I started from scratch and the same
> happens.
>
> Is the editor performing some sort of censorship on auto-generated
> comments? It doesn't make looking for problems any easier. Or is it a bug,
> in which case I'll report it?
>
> But I still can't develop my project until I can sort this. I'm attaching
> the error that I get in case it helps.
>
> Does anyone know exactly what the GUI editor is looking for, so that I can
> edit the file to satisfy it? Various attempts by me to try that have all
> failed.
>
> -------------------------
>
> Tuesday, October 22, 2019, 11:55:09 AM, you wrote:
>
>
> Another issue moving from NB 8 to 11.1
>
> I moved a Java with Ant project from NB version 8 to 11.1, and everything
> seemed fine until I decided to modify a form within the project. I got an
> error message saying that the GUI builder couldn't find the generated code.
> The message directed me to the wiki page
> http://wiki.netbeans.org/FormGuardedBlockError which describes the issue,
> but the generated code sections of my project seem OK - I reproduce them
> below. These are identical to code generated on a new project which of
> course doesn't give the error.
>
>   // <editor-fold defaultstate="collapsed" desc="Generated Code">
>   private void initComponents() {
> ...
>     add(pnlButtons, java.awt.BorderLayout.NORTH);
> ??  } // </editor-fold>
>
>   // Variables declaration - do not modify
>   private javax.swing.ButtonGroup bgColours;
> ...
>   private javax.swing.JRadioButton rbtTemp;
>   // End of variables declaration
> ??
>
> Any ideas on how I can recover from this, as the code looks fine?
>
>
> Regards,
>
> Peter
> mailto:netbe...@ptoye.com <netbe...@ptoye.com>
> www.ptoye.com
>

Reply via email to