void setup() {
size(100, 100);
// Read the value "51" from the following text embedded in an HTML page:
// <applet code="param_example" archive="param_example.jar" width=100 height=100>
// <param name="back" VALUE="51">
// </applet>
String bgcolorStr = param("back");
int bgcolor = int(bgcolorStr);
background(bgcolor);
}
Wednesday, November 25, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment