Netbeans GUI; How to disable Netbeans from banning text editing?

I find it annoying that Netbeans tries to disable source code editing whenever I use the GUI builder utility. I searched on Google but could not find the answer:

How to disable Netbeans from the ban on editing source code? This is a mistake, because whenever I right-click on a .java file, I can edit again.

+3
source share
2 answers

I do not think this is a mistake. In fact, netbeans does not allow editing source code in a method initcomponents(). In the properties window (Ctrl + Shift + 7), where you see the main tabs (properties, binding, events and code), after selecting a component and viewing its properties window, if you select a code, you can add any code you want, Creation code, Pre-Creation code, code after creation, pre-initialization code, code after initialization .....

Hope this helps.

+2
source

Editing Netbeans code is not a good idea - Netbeans will revert your changes again.

0
source

Source: https://habr.com/ru/post/1759130/


All Articles