0

Is there a way to get rid of the designer after creating a Swing GUI using the Netbeans GUI builder, without having to copy the source code into a new class?

1 Answers1

0

Open the .java file of your class in another editor and remove comments like

//GEN-BEGIN:variables

//GEN-END:variables

These are not displayed by NetBeans editor. Then you can remove the .form file with the same name of your class.

Jean Waghetti
  • 4,711
  • 1
  • 18
  • 28
  • Thanks! That's great, but it would have been nice if this was also possible from within the Netbeans environment. –  Apr 26 '13 at 21:49