JWindow Questions

1

how to stop execution of a code until a Jwindow is closed?
Hi this might be tuff to understand- what i m trying to do is i m creating an object of a JWindow class into another class… like this:- public class GamePlay extends JPanel{ TossWindow toss; public GamePlay(){ Toss(); } public void Toss(){ toss=new TossWindow(team1Name,team2Name); System.out.println(toss.tossWinner); } } in above code TossWindow is a class that [...]

Answer Question   |  January 17, 2013  4:41 PM
Class, Inheritance, Java, JWindow, object, Swing, Threading
asked by:
425 pts.

1