填空题

Applet类中用于返回包含Applet的HTML文件URL的方法是 【13】 。

【参考答案】

getDocumentBase()
<上一题 目录 下一题>
热门 试题

填空题
Java语言提供了 【12】 工具来管理组件在容器中的布局,而不使用直接设置组件位置和大小的方式。
填空题
请阅读代码:import java.awt.*;public class E11-4{public static void main(String args[]){Frame f=new Frame( BorderLayout );f.add( North ,new Button( North ));f.add( East ,new Button( East });f.add( West ,new Button ( West ));f.add ( South , tf);f.setSize(200,200);f. pack ( );f. setVisible (true);}请将程序画线处填入正确的语句 【11】 ,使得程序能够正确运行。
相关试题
  • 请在下面代码中加入监听器语句 【15】 ...
  • J2SDK的基本命令中用于Java类文件归档的是...