CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/06/21 09:59:25
Modified files: javax/swing : UIManager.java . : ChangeLog Log message: 2006-06-21 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/UIManager.java (MultiplexUIDefaults): New inner class. (currentUIDefaults): Changed type to be MultiplexUIDefaults. (userUIDefaults): Changed name to be lookAndFeelDefaults. (<cinit>): Call setLookAndFeel(String) instead of trying to load directly. Print stacktrace if something goes wrong. (get): Delegate call to currentUIDefaults. (getDefaults): If currentUIDefaults is null, then lazily instantiate it. (getUI): Delegate call to currentUIDefaults. (put): Delegate call to currentUIDefaults. (setLookAndFeel): Initialize currentUIDefaults with MultiplexUIDefaults. Set lookAndFeelDefaults. (setLookAndFeel): Use current thread's context classloader for loading the L&F. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/UIManager.java?cvsroot=classpath&r1=1.35&r2=1.36 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7890&r2=1.7891 Patches: Index: ChangeLog =================================================================== RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.7890 retrieving revision 1.7891 diff -u -b -r1.7890 -r1.7891 --- ChangeLog 21 Jun 2006 09:17:09 -0000 1.7890 +++ ChangeLog 21 Jun 2006 09:59:24 -0000 1.7891 @@ -1,5 +1,23 @@ 2006-06-21 Roman Kennke <[EMAIL PROTECTED]> + * javax/swing/UIManager.java + (MultiplexUIDefaults): New inner class. + (currentUIDefaults): Changed type to be MultiplexUIDefaults. + (userUIDefaults): Changed name to be lookAndFeelDefaults. + (<cinit>): Call setLookAndFeel(String) instead of trying to load + directly. Print stacktrace if something goes wrong. + (get): Delegate call to currentUIDefaults. + (getDefaults): If currentUIDefaults is null, then lazily instantiate + it. + (getUI): Delegate call to currentUIDefaults. + (put): Delegate call to currentUIDefaults. + (setLookAndFeel): Initialize currentUIDefaults with + MultiplexUIDefaults. Set lookAndFeelDefaults. + (setLookAndFeel): Use current thread's context classloader for + loading the L&F. + +2006-06-21 Roman Kennke <[EMAIL PROTECTED]> + * javax/swing/text/GapContent.java (GapContentPosition.GapContentPosition): Replace Collections.binarySearch with call to local search() to make