填空题

Swing允许按自己的要求选择组件的外观和感觉,Swing是通过______方法来实现该功能的。

【参考答案】

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

填空题
FileInputStream是字节流,BufferedWriter是字符流,ObjectOutputStream是______。
填空题
以下程序使用Gridlayout布局管理器使容器中各个构件呈网状布局,请将代码填写完整,使程序能够正确执行。 import java.awt. *; public class exam_3 public static void main (string args [] ) Frame f=______; f.setLayout (new GridLayout (3, 2 ) ); f.add (new Button ( 1 )); f.add (new Button ( 2 )); f.add (new Button ( 3 )); f.add (new Button ( 4 )); f.add (new Button ( 5 )); f.add (new Button ( 6 )); f.setSize (200,300); f.setvisible (true);
相关试题
  • 在Java的输入输出流中,数据从数据源流向数...
  • 阅读下面代码: import java.awt.*;...
  • 在面向对象方法中,类的实例称为______。