Article View: borland.public.jbuilder.java.language
Article #8402Re: Updating Code from 1.2 to 1.3
From: Owen Green
Date: Mon, 19 Mar 2001 15:55
Date: Mon, 19 Mar 2001 15:55
17 lines
1356 bytes
1356 bytes
Warning #:
> 368 : method size() in class java.awt.Component has been deprecated.
Replace with getSize()
> Is there a document which lists all old functions and what they are now
> replaced with?
The 1.3 API docs contain depreciated methods as well as current ones, along
with (most of the time) instructions on how to update one's code. In this
case:
Dimension size()
Deprecated. As of JDK version 1.1, replaced by
getSize().
hth
Owen
Technical Details
Message-ID:
<3ab62bfa$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!torn!sunqbc.risq.qc.ca!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!213.86.7.136References:
<3ab6197a_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,90b614fe4a2ea77,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-23 03:36:12 PST From: "Owen Green" <owen@norobots.unique.com> Newsgroups: borland.public.jbuilder.java.language References: <3ab6197a_1@dnews> Subject: Re: Updating Code from 1.2 to 1.3 Date: Mon, 19 Mar 2001 15:55:31 -0000 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 213.86.7.136 Message-ID: <3ab62bfa$1_1@dnews> X-Trace: 19 Mar 2001 07:55:38 -0800, 213.86.7.136 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!torn!sunqbc.risq.qc.ca!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!213.86.7.136