🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ��������趨���ڵĴ�С��

#23970
From: �˵�һ��Ӧ����ȹ�
Date: Wed, 13 Oct 1999 00:00
32 lines
1424 bytes
> ==> Superb_Wu(��������)                      ˵��: 
en , it should be set in yr html , i think so.
<applet   width=   height=
.....
>   ����һ��С���� 
>       import java.applet.*; 
> import java.awt.*; 
> public class drawing extends Applet 
> { 
> 	public void init() 
> 	{ 
> 		resize(320,270); 
> 		setBackground(Color.green); 
> 	} 
> 	public void paint(Graphics g) 
> 	{ 
> 		g.setColor(Color.darkGray); 
> 		g.drawLine(10,10,100,100); 
> 		g.drawRoundRect(10,10,90,90,50,50); 
> 		g.drawString("Map 1",35,120); 
> 		g.setColor(Color.blue); 
> 		g.fillRect(110,10,90,90); 
> 		g.drawOval(210,30,90,50); 
> 		g.drawString("Map 2",235,120); 
> 	} 
> } 
>    ������IE����ʱ������ֻ���ķ�֮һ���ڴ󣬸ı�resize()�IJ���Ҳû���á� 
>    ��֪����ô���£� 
 

--
�� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Technical Details
Message-ID: <991013.11bKr1$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,6d8f4dfc387cb0b5
X-Google-Attributes: gidf6cb0,public
From: Jun_Zxjun@bbs.ustc.edu.cn (�˵�һ��Ӧ����ȹ�)
Subject: Re: ��������趨���ڵĴ�С��
Date: 1999/10/13
Message-ID: <991013.11bKr1$PBBS@bbs.ustc.edu.cn>
X-Deja-AN: 536363738
Distribution: ustc
Organization: �й�ƴ�BBSվ
Newsgroups: cn.bbs.comp.lang.java