File:  [LON-CAPA] / capa / capa51 / JavaTools / GLabel.class
Revision 1.2: download - view: text, annotated - select for diffs
Fri May 17 21:04:33 2002 UTC (22 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, version_0_4, stable_2002_july, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, conference_2003, bz6209-base, bz6209, STABLE, HEAD, GCI_3, GCI_2, GCI_1, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
- the old Glabel.class was a really old version, I am commiting a recent version

-GLabelXcord[I	Ycord	java/lang/String
sLabel[Ljava/lang/String;
	java/awt/ImageiImg[Ljava/awt/Image;	iX	iY		show_gridI	
java/awt/Font 
TimesRoman"<init>(Ljava/lang/String;II)V$%
!&f16Ljava/awt/Font;()	*COUNT,java/applet/Applet.getParameter&(Ljava/lang/String;)Ljava/lang/String;01
/2java/lang/Integer4valueOf'(Ljava/lang/String;)Ljava/lang/Integer;67
58intValue()I:;
5<	label_cnt>	?java/lang/StringBufferA()V$C
BDLBFappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;HI
BJ(I)Ljava/lang/StringBuffer;HL
BMtoString()Ljava/lang/String;OP
BQXSYUICOUNTWimg_cntY	ZIMG\java/lang/System^outLjava/io/PrintStream;`a	_bURL=d
fjava/io/PrintStreamhprint(Ljava/lang/String;)Vjk
iljava/net/URLn$k
opjava/net/MalformedURLExceptionrMalformed URL=tgetImage (Ljava/net/URL;)Ljava/awt/Image;vw
/xIXzIY|BGIMG~imgLjava/awt/Image;	FSIZEfsize	GRIDgrid_ww	java/awt/ComponentgetSize()Ljava/awt/Dimension;
java/awt/Dimensionwidth	height	java/awt/GraphicssetFont(Ljava/awt/Font;)V
	drawImage3(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
java/awt/ColorwhiteLjava/awt/Color;	setColor(Ljava/awt/Color;)V
fillRect(IIII)V
black	
drawString%
drawLine

/Djava/lang/RunnablerunCodeLineNumberTableinitstopstartpaint(Ljava/awt/Graphics;)V
SourceFileGLabel.java!/
Y>()
CC:*@
*@
	*@*@*@
*@
**!Y#'+*-3N*-
-9=@=*@BYEGKNR:**3SBYETKNR:*3N*-
-9=OBYEVKNR:*3N*	-
-9=Op*X3N*-
-9=[=*[BYE]KNR:*3N-]cBYEeK-KgKRmoY-q:&:cBYEuK-KgKRm**ySBYE{KNR:*3N*-
-9=OBYE}KNR:*3N*-
-9=O*3N-[cBYEeK-KgKRmoY-q:&:cBYEuK-KgKRm**y*3N*-
-9=*3N-*-9=**!Y#*'+=ehs47s5Y[\]%^5`:aJcQddfnghijklmnfprstu2v9w=y[zej}t*49WdkCC$C*
'*N-6-6+*+*+**W++=*[H*2+*2*.*.*W++*.*.+=*@+*2*.*	.*e*]666	6+	*`66666	+	*`6! ,/6@JSknu
#

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>