[Patch][gui] DefaultListSelectionModel

Michael Koch konqueror@gmx.de
Fri Dec 24 11:51:00 GMT 2004


Hi list,


I just commited the attached patch to fix the access modifier of a
property in javax.swing.DefaultListSelectionModel.


Michael


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

	* javax/swing/DefaultListSelectionModel.java
	(leadAnchorNotificationEnabled): Made protected.

-------------- next part --------------
Index: javax/swing/DefaultListSelectionModel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/DefaultListSelectionModel.java,v
retrieving revision 1.4.2.4
diff -u -r1.4.2.4 DefaultListSelectionModel.java
--- javax/swing/DefaultListSelectionModel.java	22 Oct 2004 12:41:11 -0000	1.4.2.4
+++ javax/swing/DefaultListSelectionModel.java	24 Dec 2004 11:45:36 -0000
@@ -118,7 +118,7 @@
    * @see #isLeadAnchorNotificationEnabled
    * @see #setLeadAnchorNotificationEnabled
    */
-  boolean leadAnchorNotificationEnabled = true;
+  protected boolean leadAnchorNotificationEnabled = true;
 
 
   /**


More information about the Java-patches mailing list