If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

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.

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.

Re: Minimize a Frame with a Button click

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