[cp-patches] FYI: BasicInternalFrameUI

Roman Kennke kennke at aicas.com
Tue Jun 6 12:21:40 UTC 2006

I implemented the two missing methods in BasicInternalFrameUI,
installKeyboardActions() and uninstallKeyboardActions().

I found out that the BasicInternalFrameUI installs an action called
"showSystemMenu". Interesting is that the MetalInternalFrame seems to
set this action to null again (Metal JInternalFrames have no system
menu, this might be the reason for this), I guess that is why
installKeyboardActions() is overridden in MetalInternalFrameUI.

2006-06-06  Roman Kennke  <kennke at aicas.com>

        * javax/swing/plaf/basic/BasicInternalFrameUI.java
        (ShowSystemMenuAction): New class.
        (installKeyboardActions): Implemented.
        (uninstallKeyboardActions): Implemented.
        * javax/swing/plaf/metal/MetalInternalFrameUI.java
        (installKeyboardActions): Overridden to remove showSystemMenu


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 7188 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060606/9745d03d/patch.bin

More information about the Classpath-patches mailing list