[cp-patches] [Patch][gui] JRootPane and JTable

Mark Wielaard mark@klomp.org
Fri Dec 31 12:24:00 GMT 2004


Hi Michael,

On Fri, 2004-12-31 at 11:33 +0100, Michael Koch wrote:
> 2004-12-31  Michael Koch  <konqueror@gmx.de>
> 
> 	* javax/swing/JRootPane.java
> 	(setMenuBar): Added @deprecated tag.
> 	(getMenuBar): Likewise.
> 	* javax/swing/JTable.java
> 	(sizeColumnsToFit): Likewise.
> [...]
> +  /**
> +   * @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();

Shouldn't that last comment read:
* @deprecated Obsolete since 1.4. Please use <code>doLayout()</code>.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041231/6dbcb88d/attachment.sig>


More information about the Java-patches mailing list