How to modify/add code to the initComponents() method in Java on NetBeans? When I try to add any line of code this area seems to be like readonly and it\'s high
Backup the 2 files with extensions ".form" and ".java"
Edit the 2 files with extensions ".form" and ".java" in notepad editor. For example if your form name is "myForm" you must have the files "myForm.form" and "myForm.java" in the folder.
The first file ".form" is xml file and the second ".java" is a code java file
Edit carefully your code in both files save changes and open NETBEANS.
Thats it!