Problem please help: JFrame
I am trying to do homework but i stucked to one problem i didn't recognize where is the actually problem is.I am attaching the program with it. I have used the JTable and HashSet to enter unique entries in the table. it is well working on the console but when i removes comments of the setVisible() method then it throws an exception can you please help me.
Try to run program firstly by commenting the setVisible method.
Re: Problem please help: JFrame
1. Post relevant code here (not the whole project, and not a link to a download).
2. Post the full exception and stack trace (we're not mind readers).
3. Highlight where in your code (if possible) that exception is being thrown.
4. Don't expect people on a forum to run your code.