01: package method;
02:
03: import java.awt.Button;
04: import java.awt.Component;
05: import java.awt.Canvas;
06: import java.awt.Panel;
07:
08: public class Child2 extends Parent {
09: private boolean init() {
10: return true;
11: }
12:
13: public Component getPanel(Canvas canvas, Button button) {
14: return new Panel();
15: }
16: }
|