Forms are stored in two files:
.java
file, which contains the (partially) generated Java source code.
.form
file, which stores layout manager properties, the properties
and layout constraints of JavaBeans components on the form, and other information.
This file does not need to be distributed with your application. It is merely used
to display the form in the Form Editor.
You can edit the .java
files using external editors (but not
while the form is being edited in the IDE), with the following exceptions:
initComponents()
method. The body of
this method is always regenerated when the form is opened in the IDE.
// GEN-...
). They are required for the form to open
correctly. These comments are not visible inside the IDE's Source Editor.
See also | |
---|---|
Guarded Text
Modifying Generated Code |