Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

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.
[181 byte] By [Hiranya Samarasekera] at [2007-11-9 22:22:47]
# 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.
Paul Clapham at 2007-11-11 23:03:48 >
# 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.
>
>
Hiranya Samarasekera at 2007-11-11 23:04:53 >
# 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
prashanth at 2007-11-11 23:05:47 >
# 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
Paul Clapham at 2007-11-11 23:06:52 >