Un-minimizing frame or disabling minimize button in 1.1

P

PilotYid

Hello,
Our applet needs to support Java 1.1. We currently have multiple
frames in our app that the user can close/hide. Based on an event in
the app we currently need to show the frame if it is hidden and bring
it to the front. This is easily done with toFront() and show(). The
problem is that if the user minimizes the window first, then show() and
toFront() will not restore the window and the user will not see it. I
need some way around this, and we are limited in 1.1 with what can be
done, so I am looking for a way to do any of the following:
1. Disable the minimize button
2. Ability to un-minimize a frame
3. Catch minimize BEFORE it happens and stop it
4. Any other ideas?

FYI. setResizable does not seem to work, and there is no setState in
1.1
I understand that Window does not have the minimize button on it, so I
am looking into converting our frames to Windows - is this easily done
in 1.1?

Thanks for your help
Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,835
Latest member
KetoRushACVBuy

Latest Threads

Top