This discussion is archived
2 Replies Latest reply: May 14, 2013 1:58 AM by gimbal2 RSS

Using Netbeans 7.3 When adding print code the main method is not recognized

1007047 Newbie
Currently Being Moderated
Hello

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

Any suggestions?

Thanks!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points