Trapping window maximize minimize events.

Having a WindowListener subclass, it allows the trapping of de/activate Closed/ing de/iconified opend/closed.... but where do I trap/inhibit the maximize/restore/minimize events?
nigel5Asked:
Who is Participating?
 
sailwindConnect With a Mentor Commented:
The restore and minimize events are the deInconified and iconified events,
respectively. I went through the docs and I don't believe there is a listener
for the maximizing event since not all platform have them. Another listener
that may be useful is the componentListener, it has:

componentMoved()
componentResized()
componentHidden()
componentShown()

In short, use iconfied events to trap the minimizing event and
deiconified to trap the restoring event.

Hope this helped.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.