[gui][PATCH] InternalFrame Dialogs for JOptionPane and other fixes
Kim Ho
kho@redhat.com
Fri Jul 16 21:17:00 GMT 2004
Hi,
This add showInternalXXXDialogs for JOptionPane, changes the redispatch
for JInternalFrame and has a couple other fixes.
Cheers,
Kim
2004-07-15 Kim Ho <kho@redhat.com>
* javax/swing/DefaultDesktopManager.java:
(findMinimum): Removed.
(resizeFrame): Trust the UI to pass valid
bounds.
* javax/swing/JOptionPane.java:
Implemented showInternalXXXDialog methods.
(startModal): New method.
* javax/swing/plaf/basic/BasicInternalFrameUI.java:
(BorderListener::mouseDragged): Verify that the new
bounds are valid before passing them to the DesktopManager.
(preferredLayoutSize): Delegate
to getSize.
(minimumLayoutSize): Ditto.
(getSize): New method.
(GlassPaneDispatcher): Reimplemented by copying
a stripped down LightweightDispatcher from Container.
(getMinimumSize): Call minimumLayoutSize.
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
Ran Jalopy.
(mousePressed): Add ability to properly close
JInternalFrames.
* javax/swing/plaf/basic/BasicToolBarUI.java:
(DragWindow): Set owner for DragWindow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Swing-20040715.patch
Type: text/x-patch
Size: 37839 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040716/cc48415a/attachment.bin>
More information about the Java-patches
mailing list