This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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  <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>.

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]