The .form file is an XML file that the visual form editor uses to store information. You do not need to distribute it with your application; it's only used by the IDE. However, if you want to open your form again in the form editor, you should keep the file.

Source: NetBeans User FAQ

Parent Category: Other API Tips