[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: removed DefaultCellRenderer

Kaffe CVS cvs-commits at kaffe.org
Wed Jan 26 06:17:36 PST 2005


PatchSet 5919 
Date: 2005/01/26 14:13:18
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: removed DefaultCellRenderer

2005-01-26  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2005-01-25  Michael Koch  <konqueror at gmx.de>

        * javax/swing/DefaultCellRenderer.java: Removed.

Members: 
	ChangeLog:1.3458->1.3459 
	libraries/javalib/Makefile.am:1.298->1.299 
	libraries/javalib/Makefile.in:1.380->1.381 
	libraries/javalib/all.files:1.80->1.81 
	libraries/javalib/javax/swing/DefaultCellRenderer.java:1.1->1.2(DEAD) 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3458 kaffe/ChangeLog:1.3459
--- kaffe/ChangeLog:1.3458	Wed Jan 26 13:40:01 2005
+++ kaffe/ChangeLog	Wed Jan 26 14:13:18 2005
@@ -4,6 +4,14 @@
 
 	2005-01-25  Michael Koch  <konqueror at gmx.de>
 
+        * javax/swing/DefaultCellRenderer.java: Removed.
+
+2005-01-26  Dalibor Topic  <robilad at kaffe.org>
+
+        Resynced with GNU Classpath.
+
+	2005-01-25  Michael Koch  <konqueror at gmx.de>
+
         * javax/swing/AbstractButton.java
         (fireItemStateChanged): Made protected.
         (fireActionPerformed): Likewise.
Index: kaffe/libraries/javalib/Makefile.am
diff -u kaffe/libraries/javalib/Makefile.am:1.298 kaffe/libraries/javalib/Makefile.am:1.299
--- kaffe/libraries/javalib/Makefile.am:1.298	Mon Jan 24 15:34:16 2005
+++ kaffe/libraries/javalib/Makefile.am	Wed Jan 26 14:13:21 2005
@@ -3480,7 +3480,6 @@
 	javax/swing/DefaultBoundedRangeModel.java \
 	javax/swing/DefaultButtonModel.java \
 	javax/swing/DefaultCellEditor.java \
-	javax/swing/DefaultCellRenderer.java \
 	javax/swing/DefaultComboBoxModel.java \
 	javax/swing/DefaultDesktopManager.java \
 	javax/swing/DefaultFocusManager.java \
@@ -3542,6 +3541,7 @@
 	javax/swing/JViewport.java \
 	javax/swing/JWindow.java \
 	javax/swing/KeyStroke.java \
+	javax/swing/LayoutFocusTraversalPolicy.java \
 	javax/swing/ListCellRenderer.java \
 	javax/swing/ListModel.java \
 	javax/swing/ListSelectionModel.java \
@@ -3563,6 +3563,7 @@
 	javax/swing/SingleSelectionModel.java \
 	javax/swing/SizeRequirements.java \
 	javax/swing/SizeSequence.java \
+	javax/swing/SortingFocusTraversalPolicy.java \
 	javax/swing/SpinnerListModel.java \
 	javax/swing/SpinnerModel.java \
 	javax/swing/SpinnerNumberModel.java \
Index: kaffe/libraries/javalib/Makefile.in
diff -u kaffe/libraries/javalib/Makefile.in:1.380 kaffe/libraries/javalib/Makefile.in:1.381
--- kaffe/libraries/javalib/Makefile.in:1.380	Mon Jan 24 15:34:17 2005
+++ kaffe/libraries/javalib/Makefile.in	Wed Jan 26 14:13:22 2005
@@ -4024,7 +4024,6 @@
 	javax/swing/DefaultBoundedRangeModel.java \
 	javax/swing/DefaultButtonModel.java \
 	javax/swing/DefaultCellEditor.java \
-	javax/swing/DefaultCellRenderer.java \
 	javax/swing/DefaultComboBoxModel.java \
 	javax/swing/DefaultDesktopManager.java \
 	javax/swing/DefaultFocusManager.java \
@@ -4086,6 +4085,7 @@
 	javax/swing/JViewport.java \
 	javax/swing/JWindow.java \
 	javax/swing/KeyStroke.java \
+	javax/swing/LayoutFocusTraversalPolicy.java \
 	javax/swing/ListCellRenderer.java \
 	javax/swing/ListModel.java \
 	javax/swing/ListSelectionModel.java \
@@ -4107,6 +4107,7 @@
 	javax/swing/SingleSelectionModel.java \
 	javax/swing/SizeRequirements.java \
 	javax/swing/SizeSequence.java \
+	javax/swing/SortingFocusTraversalPolicy.java \
 	javax/swing/SpinnerListModel.java \
 	javax/swing/SpinnerModel.java \
 	javax/swing/SpinnerNumberModel.java \
Index: kaffe/libraries/javalib/all.files
diff -u kaffe/libraries/javalib/all.files:1.80 kaffe/libraries/javalib/all.files:1.81
--- kaffe/libraries/javalib/all.files:1.80	Wed Jan 26 13:20:22 2005
+++ kaffe/libraries/javalib/all.files	Wed Jan 26 14:13:23 2005
@@ -2954,7 +2954,6 @@
 javax/swing/DefaultBoundedRangeModel.java
 javax/swing/DefaultButtonModel.java
 javax/swing/DefaultCellEditor.java
-javax/swing/DefaultCellRenderer.java
 javax/swing/DefaultComboBoxModel.java
 javax/swing/DefaultDesktopManager.java
 javax/swing/DefaultFocusManager.java
===================================================================
Checking out kaffe/libraries/javalib/javax/swing/DefaultCellRenderer.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/javax/swing/Attic/DefaultCellRenderer.java,v
VERS: 1.1
***************
--- kaffe/libraries/javalib/javax/swing/DefaultCellRenderer.java	Wed Jan 26 14:17:36 2005
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,74 +0,0 @@
-/* DefaultCellRenderer.java -- 
-   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING.  If not, write to the
-Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-02111-1307 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library.  Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module.  An independent module is a module which is not derived from
-or based on this library.  If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so.  If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.swing;
-
-// this is what SUN basically told us to do so:
-// no icon though as that's not implemented yet....
-
-import java.awt.Component;
-
-public class DefaultCellRenderer extends JLabel implements ListCellRenderer 
-{
-    public Component getListCellRendererComponent(JList list,
-						  Object value,           
-						  int index,            
-						  boolean isSelected,     
-						  boolean cellHasFocus)   
-    {
-	String s = value.toString();
-	setText(s);	
-
-	//	System.out.println("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" + s);
-
-
-	if (isSelected) 
-	    {
-		setBackground(list.getSelectionBackground());
-		setForeground(list.getSelectionForeground());
-	    }
-	else 
-	    {
-		setBackground(list.getBackground());
-		setForeground(list.getForeground());
-	    }
-
-	setEnabled(list.isEnabled());
-	setFont(list.getFont());
-	return this;
-    }
-}




More information about the kaffe mailing list