• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dispose window on clicking a button

 
Daanish Suhail
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm not able to dispose the window on clicking a button...i'm calling the dispose() method in "public void actionPerformed(ActionEvent ae)" . Correct me and help me wherever i'm wrong.
Thank you.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there's no crystal ball here, so you
need to post code so we can see exactly
what you've done.

wild guess - perhaps you've not added the
actionListener to the button.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!