Need help with error message trying to compile a GUI in JAVA?

Answer frame.setDefaultCloseOperation(JFrame…Do you mean frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);?The rest looks fine to me.

Top Q&A For: Need help with error message trying to compile ...

How to Start and Compile a Short Java Program in Eclipse?

These instructions will teach you how to start and compile a short Java program using the Indigo release of Eclipse. Eclipse is a free, open-source integrated development environment that you can u... Read More »

What does Error 150 mean on Java?

What are you trying to do when you get this error

Java error 1606 help?

Report this problem to the gaming service to get things fixed.

What is the error in this code #Java Please Help?

I think, though I do not really know that the problem is with this line.PrintWriter outputStream = new PrintWriter("new.txt");Every time you call the method traverseNodes() you set outputStream to ... Read More »