Results 1 to 3 of 3
  1. #1
    ebubekird is offline Member
    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    Default JFrame minimized

    Hi,

    I am writing a simple Jframe application that will be run on windows. I need to get events when application is minimized and maximized. is there any event that is called when application is minimized?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,305
    Blog Entries
    7
    Rep Power
    20

    Default Re: JFrame minimized

    Have a look at the WindowListener and its implementation the WindowAdapter.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: JFrame minimized

    Moved here from 'New to Java'

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 3
    Last Post: 11-27-2011, 05:18 AM
  2. Memory increases until window is minimized
    By java_dude in forum AWT / Swing
    Replies: 4
    Last Post: 02-16-2011, 01:53 AM
  3. Replies: 5
    Last Post: 06-14-2010, 06:10 PM
  4. Replies: 4
    Last Post: 04-22-2009, 11:02 PM
  5. Open a shell minimized (iconified)
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 07-25-2008, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •