[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: Added a few missing deprecation tags in swing

Kaffe CVS cvs-commits at kaffe.org
Thu Jan 6 09:37:46 PST 2005


PatchSet 5789 
Date: 2005/01/06 17:31:21
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: Added a few missing deprecation tags in swing

Members: 
	ChangeLog:1.3333->1.3334 
	libraries/javalib/javax/swing/JRootPane.java:1.7->1.8 
	libraries/javalib/javax/swing/JTable.java:1.13->1.14 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3333 kaffe/ChangeLog:1.3334
--- kaffe/ChangeLog:1.3333	Thu Jan  6 16:25:30 2005
+++ kaffe/ChangeLog	Thu Jan  6 17:31:21 2005
@@ -8,6 +8,18 @@
 
 2005-01-06  Dalibor Topic  <robilad at kaffe.org>
 
+	Resynced with GNU Classpath.
+
+	2004-12-31  Michael Koch  <konqueror at gmx.de>
+
+	* javax/swing/JRootPane.java
+	(setMenuBar): Added @deprecated tag.
+	(getMenuBar): Likewise.
+	* javax/swing/JTable.java
+	(sizeColumnsToFit): Likewise.
+	
+2005-01-06  Dalibor Topic  <robilad at kaffe.org>
+
 	* TODO: Added task for extensions override mechanism.
 
 	Reported by:  Davanum Srinivas  <davanum at gmail.com>
Index: kaffe/libraries/javalib/javax/swing/JRootPane.java
diff -u kaffe/libraries/javalib/javax/swing/JRootPane.java:1.7 kaffe/libraries/javalib/javax/swing/JRootPane.java:1.8
--- kaffe/libraries/javalib/javax/swing/JRootPane.java:1.7	Wed Jan  5 17:38:11 2005
+++ kaffe/libraries/javalib/javax/swing/JRootPane.java	Thu Jan  6 17:31:26 2005
@@ -350,6 +350,9 @@
     getLayeredPane().add(menuBar, JLayeredPane.FRAME_CONTENT_LAYER);
   }
 
+  /**
+   * @deprecated Replaced by <code>setJMenuBar()</code>
+   */
   public void setMenuBar(JMenuBar m)
   {
     setJMenuBar(m);
@@ -365,6 +368,9 @@
     return menuBar;
   }
 
+  /**
+   * @deprecated Replaced by <code>getJMenuBar()</code>
+   */
   public JMenuBar getMenuBar()
   {
     return getJMenuBar();
Index: kaffe/libraries/javalib/javax/swing/JTable.java
diff -u kaffe/libraries/javalib/javax/swing/JTable.java:1.13 kaffe/libraries/javalib/javax/swing/JTable.java:1.14
--- kaffe/libraries/javalib/javax/swing/JTable.java:1.13	Thu Jan  6 00:53:05 2005
+++ kaffe/libraries/javalib/javax/swing/JTable.java	Thu Jan  6 17:31:26 2005
@@ -1633,11 +1633,17 @@
       }
   }
   
+  /**
+   * @deprecated Replaced by <code>doLayout()</code>
+   */
   public void sizeColumnsToFit(boolean lastColumnOnly)
   {
     doLayout();
   }
 
+  /**
+   * Obsolete since JDK 1.4. Please use <code>doLayout()</code>.
+   */
   public void sizeColumnsToFit(int resizingColumn)
   {
     doLayout();




More information about the kaffe mailing list