Overriding init:Control Creation and Placement
public void init() {
Button red = new Button("red");
Button green = new Button("green");
Label textlabel = new Label("(oval/rect)");
TextField shapeSpec = new TextField("oval");
add(red);
add(green);
add(textlabel);
add(shapeSpec);
...
}
Previous slide
Next slide
Back to first slide
View graphic version