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
www.ptoye.com

Reply via email to