Why did you start a new thread? Continue here: http://www.javaprogrammingforums.com/whats-wrong-my-code/32356-how-open-one-jframe-main-method-call.html