填空题

在Applet中,创建一个具有16行40列的多行文本区域对象ta的语句为 【14】 。

【参考答案】

TextArea ta=new TextArea(AF,D0);
<上一题 目录 下一题>
热门 试题

填空题
请在代码中的画线处填写正确的语句 【16】 ,使程序输出hello world!。 HelloApplet.java Import java.awt.*; Import java.applet.*; Public class HelloApplet extends Public void paint(Graphics g) ______ ( hello world! ,20,20);
填空题
阅读下面代码: import java.awt.*; public class Exam11_1 private Frame f; private Button bl,b2,b3,b4; public static void main(String args[] Exam11_1 that = new Exam11_1 (); that. go(); public void go () ______; f.setLayout(new FlowLayout());; bl = new Button ( Button 1 ); b2 = new Button ( Button 2 ); b3 = new Button ( Button 3 ); b4 = new Button ( Button 4 ); f.add(b1); f.add(b2); f.add(b3); f.add(b4); f.pack(); f.setVisible(true); 请在程序中画线处填写正确的语句 【13】 ,以便编译运行程序后得到正确的结果。
相关试题
  • 创建图形用户界面的步骤是先创建代表图形化...