Results 1 to 3 of 3
  1. #1
    Pojahn_M's Avatar
    Pojahn_M is offline Senior Member
    Join Date
    Mar 2011
    Location
    Sweden
    Posts
    197
    Rep Power
    4

    Default Event for minimize?

    Is there an action listener for JFrame's minimize button? I was positive there was one at the WindowAdapter class, but looking at it, I could not find anything.
    I want to add a system tray which is why I need an action listener for it.

    http://docs.oracle.com/javase/1.4.2/...owAdapter.html
    Last edited by Pojahn_M; 02-07-2012 at 09:50 PM.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Event for minimize?

    Is there an action listener for JFrame's minimize button
    Look at window listener. Create a window listener and have each of the methods print out when it is called.

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

    Default Re: Event for minimize?

    Quote Originally Posted by Pojahn_M View Post
    Please don't post links to the API for old, EOL versions of Java. Bookmark these:
    Java Platform SE 6
    Java Platform SE 7

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

Similar Threads

  1. Replies: 4
    Last Post: 10-07-2011, 08:33 AM
  2. jsf- minimize dialog box error
    By kalambekar in forum Advanced Java
    Replies: 0
    Last Post: 09-28-2011, 05:03 PM
  3. run() only works after minimize and maximize...
    By Josep_16 in forum Java Applets
    Replies: 5
    Last Post: 08-10-2011, 09:04 AM
  4. Minimize and maximize GUI
    By dejos456 in forum New To Java
    Replies: 6
    Last Post: 12-09-2009, 09:49 PM
  5. how to minimize the code.
    By arunkumarinfo in forum New To Java
    Replies: 6
    Last Post: 02-01-2009, 04:35 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
  •