Minimize a Frame with a Button click
Hi, I need to minimize a Frame when one of my Button components get clicked.
How do i do that? How can i generate WindowEvent(s) mannually. Please help!
Thanks Hiranya.
# 1 Re: Minimize a Frame with a Button click
VisualCafe is a best GUI Tool, in which you can do everything very easily.
You can download and used it free of cost.
This will helps you more and more in your future to learn java.
Try with that.
"Hiranya Samarasekera" <koluwa007@hotmail.com> wrote in message
news:3c6b7ad0$1@10.1.10.29...
>
> Hi, I need to minimize a Frame when one of my Button components get
clicked.
> How do i do that? How can i generate WindowEvent(s) mannually. Please
help!
>
> Thanks Hiranya.
Rajesh at 2007-11-11 23:02:42 >

# 2 Re: Minimize a Frame with a Button click
yourFrame.setState(Frame.ICONIFIED) ?
PC2
"Hiranya Samarasekera" <koluwa007@hotmail.com> wrote in message
news:3c6b7ad0$1@10.1.10.29...
>
> Hi, I need to minimize a Frame when one of my Button components get
clicked.
> How do i do that? How can i generate WindowEvent(s) mannually. Please
help!
>
> Thanks Hiranya.
# 3 Re: Minimize a Frame with a Button click
Thank you very much Paul. It worked.
Hiranya
--------
"Paul Clapham" <pclapham@core-mark.com> wrote:
>yourFrame.setState(Frame.ICONIFIED) ?
>
>PC2
>
>"Hiranya Samarasekera" <koluwa007@hotmail.com> wrote in message
>news:3c6b7ad0$1@10.1.10.29...
>>
>> Hi, I need to minimize a Frame when one of my Button components get
>clicked.
>> How do i do that? How can i generate WindowEvent(s) mannually. Please
>help!
>>
>> Thanks Hiranya.
>
>
# 4 Re: Minimize a Frame with a Button click
Hi, I need to minimize a DialogFrame
when one of my Button components get clicked.
How do i do that?
Thanks in early
# 5 Re: Minimize a Frame with a Button click
setState(Frame.ICONIFIED)
PC2
"prashanth" <prashanthspark@hotmail.com> wrote in message
news:3c7618ac$1@10.1.10.29...
>
> Hi, I need to minimize a DialogFrame
> when one of my Button components get clicked.
> How do i do that?
>
> Thanks in early