🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #23962

Re: Help: Java Applet!

#23962
From: Carino
Date: Sun, 10 Oct 1999 00:00
26 lines
1329 bytes
> ==> Stockholm_Wish(Al_lein)                  ˵��: 
>  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!!!!

Are you using JDK1.1.x or higher to compile your code?
Because mouseDown(...), etc has be descarded! 
Do as the compiler told you, Read the JDK document!

--
�� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Technical Details
Message-ID: <991010.11aDXf$PBBS@bbs.ustc.edu.cn>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f6cb0,661d562c92975786
X-Google-Attributes: gidf6cb0,public
From: Yu_Tang@bbs.ustc.edu.cn (Carino)
Subject: Re: Help: Java Applet!
Date: 1999/10/10
Message-ID: <991010.11aDXf$PBBS@bbs.ustc.edu.cn>
X-Deja-AN: 536363731
Organization: �й�ƴ�BBSվ
Newsgroups: cn.bbs.comp.lang.java