CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Lillian Angel <[EMAIL PROTECTED]> 05/11/08 20:59:05
Modified files: . : ChangeLog javax/swing/plaf/basic: BasicTreeUI.java javax/swing : JTree.java JOptionPane.java java/awt : Window.java Log message: 2005-11-08 Lillian Angel <[EMAIL PROTECTED]> * 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. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5516&tr2=1.5517&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.108&tr2=1.109&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JTree.java.diff?tr1=1.50&tr2=1.51&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JOptionPane.java.diff?tr1=1.22&tr2=1.23&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Window.java.diff?tr1=1.62&tr2=1.63&r1=text&r2=text