Re: close a window
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Fri, 25 Nov 2005 15:56:19 GMT
"Regina" <reginacarmela@xxxxxxxxx> wrote in message
news:1132933976.068127.201220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> How can I close a window using a JButton?
Assuming you mean java.awt.Window, you can call its dispose() method to
get rid of it forever, or its setVisible(false) method to temporarily hide
it.
- Oliver
.
- Follow-Ups:
- Re: close a window
- From: Regina
- Re: close a window
- References:
- close a window
- From: Regina
- close a window
- Prev by Date: close a window
- Next by Date: Re: resize windows with JFrame
- Previous by thread: close a window
- Next by thread: Re: close a window
- Index(es):