Search code examples
javaswingnetbeansjframevisible

JFrame visibility


I tried to make a JFrame with netbeans IDE and all the code has no error, when I try to run the application the Frame is not visible. what is the problem?


Solution

  • I'm sure you forgot to write this code:

    setVisible(true);