applet窗口大小由html当中的参数决定。

解决方案 »

  1.   

    <applet code=yourapplet.class width=360 height=350></applet>
    width和height自行修改
      

  2.   

    对啊,你可以这么定义。
    class example implememts JFrame{
    Frame frame=new Frame();
    frame.width=100;
    frame.height=230;
    }
      

  3.   

    如下:
    private void jbInit() throws Exception {    
        this.resize(200,100);
        }

    private void jbInit() throws Exception {    
        this.resize(600,500);
        }在界面上的显示都是一样的
      

  4.   

    applet窗口大小由html当中<applet>的width和height参数决定,改它们的值就好了
      

  5.   

    applet窗口大小由html当中<applet>的width和height参数决定,改它们的值就好了
      

  6.   

    你只能在html代码中改变applet的大小,就像楼上说的那样改变width和height的大小就行.