Solved

Trapping window maximize minimize events.

Posted on 1998-09-25
1
691 Views
Last Modified: 2012-06-21
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?
0
Comment
Question by:nigel5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
sailwind earned 50 total points
ID: 1225008
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to see all occupied ports on windows 10 laptop 15 92
spring jars download 1 65
java example issue 5 63
dao vs facade design patterns 2 64
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question