Minimize a Frame with a Button click


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Minimize a Frame with a Button click

Hybrid View

  1. #1
    Hiranya Samarasekera Guest

    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.

  2. #2
    Rajesh Guest

    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.




  3. #3
    Paul Clapham Guest

    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.




  4. #4
    Hiranya Samarasekera Guest

    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.

    >
    >



  5. #5
    prashanth Guest

    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

  6. #6
    Paul Clapham Guest

    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




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center