I removed an unneeded warning in JComponent. We used to print out this
warning when a component has no UI installed. This probably was useful
in the early days when some components didn't have a UI class yet or
something like that. Today such a warning is completely superfluous and
confuses some users. Also, it actually is completely legal to have a
component without an UI class.
2005-12-06 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/JComponent.java
(updateUI): Removed unneeded warning.
/Roman
Index: javax/swing/JComponent.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JComponent.java,v
retrieving revision 1.90
diff -u -r1.90 JComponent.java
--- javax/swing/JComponent.java 23 Nov 2005 15:39:11 -0000 1.90
+++ javax/swing/JComponent.java 6 Dec 2005 16:26:14 -0000
@@ -2740,7 +2740,7 @@
*/
public void updateUI()
{
- System.out.println("update UI not overwritten in class: " + this);
+ // Nothing to do here.
}
public static Locale getDefaultLocale()
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches