Article View: cn.bbs.comp.lang.java
Article #20053Re: swing �������
From: �����ơ��������λλ�
Date: Wed, 24 Dec 2003 14:03
Date: Wed, 24 Dec 2003 14:03
24 lines
1758 bytes
1758 bytes
java����ʾUIʱ����ݹ���������ڵ�ÿһ��������Լ������ֵ�labelʱ��
�����icon�����ڴ������ڹ��캯���д����ovalIcon��һ��ʵ��������Լ�
�� �� WZF.bbs@Freecity.dhs.org (Carl) �Ĵ������ᵽ: ��
: ����OvalIcon.java�����paintIcon����ô�����õ�
: лл
: // OvalIcon.java
: // A simple icon implementation that draws ovals.
: //
: import javax.swing.*;
: import java.awt.*;
: public class OvalIcon implements Icon {
: private int width, height;
: public OvalIcon(int w, int h) {
: .................������ʡ�ԣ�
--
[1;33m ,,
___( )___
[5m/ \[0m [1;31m����һֻСС��
[1;33m[5m/\/\/\[0m[1;33m||[5m[1;33m/\/\/\
[0m[1;33m^^
[m[1;34m�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.19.13][m
Technical Details
Message-ID:
<49lahM$9mO@bbs.sjtu.edu.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTUShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,8887024091e7de75 X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-12-24 06:04:47 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU From: pwlazy.bbs@bbs.sjtu.edu.cn ( �����ơ��������λλ�) Newsgroups: cn.bbs.comp.lang.java Subject: Re: swing ������� Date: 24 Dec 2003 14:03:53 GMT Organization: ��ˮ˼Դ Message-ID: <49lahM$9mO@bbs.sjtu.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1072274470.A