Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

closing main frame using two classes

  Asked By: Lorraine    Date: Apr 04    Category: Java    Views: 619
  

with the keyevent problem,that i have not solve yet,i have
another problem here.i have this main class(a black screen using
jwindow) and a second class(for user to key in username n password
using jframe)when mouse click or key press,the second class box
appears,with the correct username and password,the second class will
be dispose.how to make the main class and the second class to be
dispose at the same time when correct input is key in?now,i am able
to dispose the second class.i think i need to call the main class
from the second class,but i do not have the idea how to call it.can
anyone help with this?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on closing main frame using two classes Or get search suggestion and latest updates.




Tagged: