While creating a new project in Netbeans, I selected Java with Swings class. Then I created a form using drag and drop in Design. However, when I navigated to its Source, much of it was uneditable. Things like hiding a field unless a button is clicked etc. couldn't be done.
Is there a way to make the code in source of a java swings class editable?