Help: how to Catch the minimize event in JInternalFrame

Hi

i Have a way to catch the minimize event by using

InternalFrameAdapter.internalFrameIconified()

but this event invoked when the internalFrame is already minimized.

Any1 knows a way to catch the event of the click on the minimize button?

thanx, tal

[287 byte] By [Bizoa] at [2007-11-27 11:19:21]
# 1

don't know if this is any better than what you already have

internalFrame.setUI(new javax.swing.plaf.metal.MetalInternalFrameUI(internalFrame){

protected void iconifyFrame(JInternalFrame f)

{

System.out.println("iconifying");

super.iconifyFrame(f);

}

});

Michael_Dunna at 2007-7-29 14:36:15 > top of Java-index,Desktop,Core GUI APIs...