How to set full Screen Mode of My App which is made in netbeans platform?

前端 未结 7 1714
时光说笑
时光说笑 2020-12-21 16:54

I m made Desktop App in netbeans platform in java.now wwhen i run my app it will open by default size of netbeans platform configuration.but i want full screen mode when i r

相关标签:
7条回答
  • 2020-12-21 17:56
    Toolkit tk = Toolkit.getDefaultToolkit();
        int xsize = (int) tk.getScreenSize().getWidth();
        int ysize = (int) tk.getScreenSize().getHeight();
        this.setSize(xsize, ysize);
    
    0 讨论(0)
提交回复
热议问题