⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bookmanagermain.java~3~

📁 教材管理系统
💻 JAVA~3~
📖 第 1 页 / 共 3 页
字号:
  void jMenuItemUserAdd_actionPerformed(ActionEvent e) {
    userAdd dlg = new userAdd();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开用户密码修改窗口
  void jMenuItemUserUpdate_actionPerformed(ActionEvent e) {
    userUpdate dlg = new userUpdate();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开用户删除窗口
  void jMenuItemUserDelete_actionPerformed(ActionEvent e) {
    userDelete dlg = new userDelete();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }
  //打开用户查询窗口
  void jMenuItemusersearch_actionPerformed(ActionEvent e) {
    usersearch dlg = new usersearch();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }


//打开教材预订添加窗口
  void jMenuItembookorderAdd_actionPerformed(ActionEvent e) {
    bookorderAdd dlg = new bookorderAdd();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开教材预定更新窗口
  void jMenuItemBookorderUpdate_actionPerformed(ActionEvent e) {
    bookorderUpdate dlg = new bookorderUpdate();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开添加教材信息窗口
  void jMenuItembookAdd_actionPerformed(ActionEvent e) {
   bookAdd dlg = new bookAdd();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开书籍出库 窗口
  void jMenuItemoutbookS_actionPerformed(ActionEvent e) {
    outBookS dlg = new outBookS();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();
  }

//打开书籍出库 窗口
  void jMenuItemoutbookSquery_actionPerformed(ActionEvent e) {
    outbookSquery dlg = new outbookSquery();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();
  }
  void jMenuItemoutqbyISBN_actionPerformed(ActionEvent e) {
   outqbyISBN dlg = new outqbyISBN();
   Dimension dlgSize = dlg.getPreferredSize();
   Dimension frmSize = getSize();
   Point loc = getLocation();
   dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                   (frmSize.height - dlgSize.height) / 2 + loc.y);
   dlg.pack();
   dlg.show();
 }
 void jMenuItemoutqbybookname_actionPerformed(ActionEvent e) {
   outqbybookname dlg = new outqbybookname();
   Dimension dlgSize = dlg.getPreferredSize();
   Dimension frmSize = getSize();
   Point loc = getLocation();
   dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                   (frmSize.height - dlgSize.height) / 2 + loc.y);
   dlg.pack();
   dlg.show();
 }



//打开按院系查询交费情况
  void jMenuItempayqbydepartment_actionPerformed(ActionEvent e) {
    payqbydepartment dlg = new payqbydepartment();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();
  }

//打开教材入库窗口
  void jMenuItemBookin_actionPerformed(ActionEvent e) {
   inBook dlg = new inBook();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开书籍入库查询按ISBN号查询
  void jMenuIteminqbyISBN_actionPerformed(ActionEvent e) {
   inqbyISBN dlg = new inqbyISBN();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开所有书籍信息查询窗口
  void jMenuItembookList_actionPerformed(ActionEvent e) {
    bookList dlg = new bookList();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

  void jMenuFileExit_actionPerformed(ActionEvent e) {
    System.exit(0);
  }
  //打开交费登记窗口
  void jMenuItemregistationfees_actionPerformed(ActionEvent e) {
    registationfees dlg = new registationfees();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }
  //打开交费记录查询窗口
  void jMenuItemrecordpayquery_actionPerformed(ActionEvent e) {
   recordpayquery dlg = new recordpayquery();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }

//打开教材预定查询窗口
  void jMenuItemorderbookquery_actionPerformed(ActionEvent e) {
   orderbookquery dlg = new orderbookquery();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }






void jMenuIteminqbybookname_actionPerformed(ActionEvent e) {
    inqbybookname dlg = new inqbybookname();
       Dimension dlgSize = dlg.getPreferredSize();
       Dimension frmSize = getSize();
       Point loc = getLocation();
       dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                       (frmSize.height - dlgSize.height) / 2 + loc.y);
       dlg.pack();
       dlg.show();

  }
  void jMenuIteminqbybooktype_actionPerformed(ActionEvent e) {
    inqbybooktype dlg = new inqbybooktype();
       Dimension dlgSize = dlg.getPreferredSize();
       Dimension frmSize = getSize();
       Point loc = getLocation();
       dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                       (frmSize.height - dlgSize.height) / 2 + loc.y);
       dlg.pack();
       dlg.show();

  }

  void jMenuIteminqbyorderuser_actionPerformed(ActionEvent e) {
     inqbyorderuser dlg = new inqbyorderuser();
        Dimension dlgSize = dlg.getPreferredSize();
        Dimension frmSize = getSize();
        Point loc = getLocation();
        dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                        (frmSize.height - dlgSize.height) / 2 + loc.y);
        dlg.pack();
        dlg.show();

   }
   void jMenuItemxitongshuoming_actionPerformed(ActionEvent e) {
    xitongshuoming dlg = new xitongshuoming();
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x,
                    (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.pack();
    dlg.show();

  }




}



class BookManagerMain_this_windowAdapter
    extends java.awt.event.WindowAdapter {
  BookManagerMain adaptee;

  BookManagerMain_this_windowAdapter(BookManagerMain adaptee) {
    this.adaptee = adaptee;
  }

  public void windowOpened(WindowEvent e) {
    adaptee.this_windowOpened(e);
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -