Article View: cn.bbs.comp.lang.java
Article #23941Re: Help: Java Applet!
From: Heyzz
Date: Sat, 08 Apr 2000 00:00
Date: Sat, 08 Apr 2000 00:00
39 lines
1720 bytes
1720 bytes
because sun marked such member function dropped. so use new function in your
java projram:
Reference:
Class MouseListener
member function: MousePressed
this is documented in jdk1.2+
Al_lein <Stockholm_Wish@bbs.ustc.edu.cn> wrote in message
news:991009.11ZvSq$PBBS@bbs.ustc.edu.cn...
> test.java:30:
>
> Note: The method boolean mouseDown(java.awt.Event, int,int)
> in class java.awt.Component has been deprecated,
> and class test (which is notdeprecated) overrides it.
> public boolean mouseDown(java.awt.Event evt, int x, int y)
> ^
>
> Note: test.java uses a deprecated API.
> Please consult the documentation
> for a better alternative.
> 2 warnings
>
> ##########
>
> I want to override the mouseDown(); But Compliering warning as above.
>
> how can i do ?
>
> The same problem appear when I use Retangle::inside();
>
> and other functions.
>
> What's the wrong ?
>
> Thanks for ur help!!!!
>
> --
> �� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Technical Details
Message-ID:
<8clq48$jmc$1@news.cz.js.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<991009.11ZvSq$PBBS@bbs.ustc.edu.cn>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f6cb0,daa1b785cd95513e,start X-Google-Attributes: gidf6cb0,public From: "Heyzz@371.net" <heyzz@371.net> Subject: Re: Help: Java Applet! Date: 2000/04/08 Message-ID: <8clq48$jmc$1@news.cz.js.cn> X-Deja-AN: 608185958 References: <991009.11ZvSq$PBBS@bbs.ustc.edu.cn> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: usenet@news.cz.js.cn X-Trace: news.cz.js.cn 955149256 20172 202.111.134.169 (7 Apr 2000 23:14:16 GMT) Organization: The news server of Changzhou TeleCom X-MSMail-Priority: Normal NNTP-Posting-Date: 7 Apr 2000 23:14:16 GMT Newsgroups: cn.bbs.comp.lang.java