|
Here's a listing of this class:
// FunnyClockStage.java
import linguist.quickshow.*;
public class FunnyClockStage extends Stage
{
public void setupStage()
{
setStageSize(WIDTH,HEIGHT);
show();
new Background(this);
new Digit(this,0);
new Digit(this,1);
new Digit(this,2);
new Digit(this,3);
}
static final int WIDTH=240;
static final int HEIGHT=100;
}
This one is just as simple as the previous one, so the same notes apply. (Remind
me.) The Stage calls up a background and four clock digits, each identical apart from
the ID supplied.
|