Hi John,
I'm wondering if JInternalFrame needs a root pane set somewhere to
minimize to, like a desktop? I know I've done this in the past, but
the icon went to a place on the 'internal desktop' as opposed to the
OS location for icons.
Just out of curiosity, what OS/JDK are you using?
- Don
On Jan 28, 2008, at 4:11 PM, Graham, John wrote:
> Hi,
>
> I am creating a JInternalFrame that is displayed using
> com.bbn.openmap.gui.WindowSupport displayInWindow.
> The window displays fine and I can maximize and close the window.
> The problem is, I can't seem to minimize the window.
>
> I extended WindowSupport to implement InternalFrameListener and I
> added a internalFrameIconified method that calls setIcon(true) on
> the JInternalFrame when the minimize button is clicked…but the
> window still remains 'normal'. Peeking inside the JInternalFrame
> with the debugger, I can see that isIcon is set to true when I click
> minimize. I also made sure that the JInternalFrame is iconifiable
> by calling setIconifiable(true). setIcon just fires an
> INTERNAL_FRAME_DEICONIFIED event. setIcon throws a
> PropertyVetoException when the property change event is vetoed bu
> the JInternalFrame, and I am not getting this exception.
> Theoretically, I should't even need to extend WindowSupport based on
> thumbing through the code - as iconification is already supported.
> Any clues?
>
> John W. Graham
> Northrop Grumman Defense Group Simulation & Training
> Civil Effects Leadership Training Simulation (CELTS)
> (407) 243-2021
> j.graham_at_ngc.com
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Jan 29 2008 - 18:48:35 EST