Fixes bug #24338
2005-10-18 Lillian Angel <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicTextUI.java
(installDefaults): Set the selected text color for the
text component.
Index: javax/swing/plaf/basic/BasicTextUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java,v
retrieving revision 1.46
diff -u -r1.46 BasicTextUI.java
--- javax/swing/plaf/basic/BasicTextUI.java 13 Oct 2005 12:51:00 -0000 1.46
+++ javax/swing/plaf/basic/BasicTextUI.java 18 Oct 2005 15:13:37 -0000
@@ -523,6 +523,7 @@
inactiveBackground = UIManager.getColor(prefix + ".inactiveBackground");
textComponent.setDisabledTextColor
(UIManager.getColor(prefix + ".inactiveForeground"));
+ textComponent.setSelectedTextColor(UIManager.getColor(prefix + ".selectionForeground"));
}
/**
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches