TelaInicial.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:lembredio 作者:
/**
 * Creates new form TelaInicial
 */


public TelaInicial() throws PropertyVetoException, IOException {
    initComponents();
    this.setLocationRelativeTo(null);
    jDesktopPane3.add(obj);
    obj.setMaximizable(true);
    obj.setMaximum(true);
    obj.setVisible(true);
    getContentPane().setBackground(Color.WHITE);

    File file = new File("CADASTRADOS.txt");
   if(!file.exists()){
    file.createNewFile();// TODO code application logic here
   }
   File dir = new File("CadastroRemedios");
   if(!dir.exists()){
       dir.mkdir();
   }
    //this.setExtendedState(MAXIMIZED_BOTH);
    //jDesktopPane3.setExtendedState(MAXIMIZED_BOTH);
   //obj.setLocation(jDesktopPane3.getSize().width/2 - obj.getSize().width/2,jDesktopPane3.getSize().height/2 - obj.getSize().height/2);

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号