I am writing a program in the GUI Builder and found that when I add code to print user input from text fields to a text file, the main method is no longer recognized. It throws all kinds of errors.
I have been able to get the code to work separately in a project file. Also, have been able to print to the console.
I have researched the problem and nothing seems to answer my question directly
Don't use GUI Builders. They complicate things.
For further assistance with the Netbeans GUI builder (because I know the OP will 0% agree), try a Netbeans forum or mailing list. A good place to look is on the actual Netbeans.org website.