classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Michael Koch
Subject: Re: [cp-patches] [Patch][gui] JRootPane and JTable
Date: Fri, 31 Dec 2004 13:25:51 +0100
User-agent: KMail/1.6.2

Am Freitag, 31. Dezember 2004 12:19 schrieb Mark Wielaard:
> Hi Michael,
>
> On Fri, 2004-12-31 at 11:33 +0100, Michael Koch wrote:
> > 2004-12-31  Michael Koch  <address@hidden>
> >
> >  * 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>.

I would think so too but according to SUNs javadocs its not 
deprecated. Its "only" obsoleted. I wonder what the difference in 
SUNs eyes is.


Michael
-- 
Homepage: http://www.worldforge.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]