home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java by Example
/
jbecd.bin
/
JBE-CD
/
NTUsers
/
JBECODE.ZIP
/
JavaByExample
/
chap06
/
Applet4.java
< prev
next >
Wrap
Text File
|
1996-01-31
|
231b
|
13 lines
import java.awt.*;
import java.applet.*;
public class Applet4 extends Applet
{
public void paint(Graphics g)
{
int x = 10;
String s = String.valueOf(x);
g.drawString(s, 40, 50);
}
}