选择正确的叙述. class Happy extends Frame. { Happy() { SetLayout(new GridLayout(2,2)); Panel p1 = new Panel(); add(p1); p 1.add( new Button("One")); Panel p2 = new Panel(); add(p2); p 2.add( new Button("Two")); add( new Button("Three")); add( new Button("Four")); s()A.当frame调整大小时,按钮Three和Four 的大小也将调整。B.当frame调整大小时,所有按钮的大小都将调整。C.当frame调整大小时,按钮Two和Four 的大小也将调整。D.当frame调整大小时,按钮One和Two 的大小也将调整。
选择正确的叙述. class Happy extends Frame. { Happy() { SetLayout(new GridLayout(2,2)); Panel p1 = new Panel(); add(p1); p 1.add( new Button("One")); Panel p2 = new Panel(); add(p2); p 2.add( new Button("Two")); add( new Button("Three")); add( new Button("Four")); s()
A.当frame调整大小时,按钮Three和Four 的大小也将调整。
B.当frame调整大小时,所有按钮的大小都将调整。
C.当frame调整大小时,按钮Two和Four 的大小也将调整。
D.当frame调整大小时,按钮One和Two 的大小也将调整。
相关考题:
We've been through some rough times together.A:shortB:difficultC:longD:happy