I am using Netbeans 7.3 which comes with a WYSIWYG gui designer. I am using it to design my java application via swing. I have a JFrame with a gridlayout, in it i have a Jplanel1 with a gridBagLayout. Inside that i have a Jpanel2 with a free design layout.
To be clearer:
JFrame
-->GridLayout
JPanel2
--> GridBagLayout
JPanel3
-->JLabel1
Now when i try to edit the JLabel1 text, the JPanel2 maximises in the design view. I am unable to go back to view the entire design. (only was is to undo). The same phenomenon happens if i try to change the text via properties of JLabel1.
What am i doing wrong here? Thanks in advance for any help. Please take a note that this has something to do with Netbeans design editor view, not when my application is complied and run.
This is my entire code generated by NetBeans IDE