🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help: Java Applet!

#23960
From: Al_lein
Date: Sat, 09 Oct 1999 00:00
29 lines
1059 bytes
 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: <991009.11ZvSq$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,start
X-Google-Attributes: gidf6cb0,public
From: Stockholm_Wish@bbs.ustc.edu.cn (Al_lein)
Subject: Help: Java Applet!
Date: 1999/10/09
Message-ID: <991009.11ZvSq$PBBS@bbs.ustc.edu.cn>
X-Deja-AN: 536363730
Organization: �й�ƴ�BBSվ
Newsgroups: cn.bbs.comp.lang.java