Re: Close a window
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Fri, 25 Nov 2005 15:09:55 GMT
On 25 Nov 2005 06:34:59 -0800, "Regina" <reginacarmela@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
>How can I close a window using a JButton?
In the button's ActionListerner, you call the Window/Frame's
setVisible(false) or dispose method. Dispose is for when you don't
plan to open in again soon.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Follow-Ups:
- Re: Close a window
- From: Regina
- Re: Close a window
- References:
- Close a window
- From: Regina
- Close a window
- Prev by Date: Re: resize windows with JFrame
- Next by Date: Re: resize windows with JFrame
- Previous by thread: Close a window
- Next by thread: Re: Close a window
- Index(es):