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?
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.