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

前端 未结 7 1819
时光说笑
时光说笑 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条回答
  •  Happy的楠姐
    2020-12-21 17:42

    Use this code on Constructor.

    setExtendedState(MAXIMIZED_BOTH);
    

    ater using this whatever frame i have designed, that components are not fix in center or means disbalanced all the content that are designed using netbeans drag and drop

提交回复
热议问题