[3694] in java-interest
error in sample code ...
daemon@ATHENA.MIT.EDU (michel meyer)
Wed Nov 22 12:46:18 1995
Date: Sun, 19 Nov 1995 22:15:25 -0100
To: jpayne@starwave.com
From: michel@mmania.com (michel meyer)
Cc: java-interest@java.sun.com
sorry, but there was a mistake in the sample code of my previous mail.
You might have corrected by yourself but justin case, here is the right one:
class testApplet extends Applet{
testApplet () {
setBackground(Color.pink);
resize(50,50);
}
public void paint(Graphics g) {
System.out.println("Applet.paint");
}
public void update(Graphics g) {
System.out.println("Applet.update");
}
}
Thanks for your time and your help
Michel (michel@mmania.com)
####################################################
## The (virtual) Baguette: http://www.mmania.com ##
####################################################
##############################
# MultiMania Production #
# 1.rue de Paradis #
# 75010 Paris #
# Tel: 45-23-08-19 #
# E-mail: info@mmania.com #
##############################
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com