• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stop furher execution for particular time

 
vineet kumar chaudhry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi java Lovers

I have following scenario :

class A extends B{
//Code
}

class B extends JFrame{

public void init(){

JFrame = new JFrame();
//code
}
}


Now I want untill the "OK" button is not pressed in Frame control should not be transferred to the class A
How would I acheive this
Do I need to use JOptionPane for this and get the frames inside it
or is there another wayout
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can as well use a Modal Dialog!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic