4
I’m making a GUI using the JFrame automatically generated by the Netbeans IDE and had twice-clicked on a JButton unintentionally and it automatically generated a code of ActionEvent which cannot be edited.
As I did not want these methods that I would not use, I opened the code by another editor (Sublime) and removed them completely, both his methods and his calls on private void initComponents().
After deleting them by sublime they ceased to exist when opened in Netbeans and the code ran normally.
The problem is that every time I change something in Netbeans, those methods mysteriously get called back in private void initComponents(). With this, in order to compile without mistakes, I have to keep opening the Sublime again and remove them.
Ex: Code that I delete but mysteriously returns
Could someone help me?




It worked! Thanks =]
– Patricia