[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: JOptionPane, Window and JTree fix
From: |
Lillian Angel |
Subject: |
[cp-patches] Patch: JOptionPane, Window and JTree fix |
Date: |
Tue, 08 Nov 2005 15:56:51 -0500 |
ChangeLog explains it all :)
2005-11-08 Lillian Angel <address@hidden>
* java/awt/Window.java
(setLocationRelativeTo): Changed x and y to use
getLocationOnScreen and moved setLocation call outside of check.
* javax/swing/JOptionPane.java
(createDialog): Moved pack call and setLocationRelativeTo call
here and removed these calls from all other functions that call
createDialog. Also, removed FIXME, since call to
setLocationRelativeTo fixes this.
(showConfirmDialog): Removed pack and setLocationRelativeTo
calls.
(showConfirmDialog): Likewise.
(showConfirmDialog): Likewise.
(showConfirmDialog): Likewise.
(showInputDialog): Likewise.
(showInputDialog): Likewise.
(showInputDialog): Likewise.
(showInputDialog): Likewise.
(showInputDialog): Likewise.
(showInputDialog): Likewise.
(showMessageDialog): Likewise.
(showMessageDialog): Likewise.
(showOptionDialog): Likewise.
* javax/swing/JTree.java
(JTree): Should not use a shared instance of the selection
model. It is a problem when one application has two different
trees.
* javax/swing/plaf/basic/BasicTreeUI.java
(paintRow): Changed parameter to be the focus of the tree.
(updateCurrentVisiblePath): Adjusted root path incase the root
is hidden.
patch.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch: JOptionPane, Window and JTree fix,
Lillian Angel <=