The Artima Developer Community
Sponsored Link

Java Answers Forum
JFrame

1 reply on 1 page. Most recent reply: Aug 23, 2003 8:10 AM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
sabab

Posts: 34
Nickname: sabab
Registered: Aug, 2003

JFrame Posted: Aug 19, 2003 10:21 AM
Reply to this message Reply
Advertisement
How can i close a window on a button click.
i am using JFrame.. pls help

Thanks in advance


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: JFrame Posted: Aug 23, 2003 8:10 AM
Reply to this message Reply
add an ActionListener to the button which calls the dispose method of the JFrame.

Flat View: This topic has 1 reply on 1 page
Topic: Thumb rule for access specifiers in inheritance Previous Topic   Next Topic Topic: jsp & applet param

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use