[Patch][gui] javax.swing.JTree

Michael Koch konqueror@gmx.de
Fri Dec 31 16:35:00 GMT 2004


Hi list,


I commited the attached patch to add a missing field in
javax.swing.JTree.


Michael


2004-12-31  Michael Koch  <konqueror@gmx.de>

	* javax/swing/JTree.java
	(hasChildren): New instance field.

-------------- next part --------------
Index: javax/swing/JTree.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JTree.java,v
retrieving revision 1.3.2.14
diff -u -r1.3.2.14 JTree.java
--- javax/swing/JTree.java	29 Dec 2004 15:53:30 -0000	1.3.2.14
+++ javax/swing/JTree.java	31 Dec 2004 16:31:30 -0000
@@ -197,6 +197,12 @@
   {
     protected Object childValue;
     protected boolean loadedChildren;
+
+    /**
+     * XXX: Currently not implemented.
+     */
+    protected boolean hasChildren;
+    
     public DynamicUtilTreeNode(Object value,
                                Object children) 
     {


More information about the Java-patches mailing list