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

📄 booksinfosystempanel.java

📁 图书管理系统源代码,05年某人写的,还算不错
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
        jtxBookNum1.setText("填写完信息点击获取编号");
        jtxBookConcern1.setText("");
        jtxBookAuthor.setText("");
        jtxBookPurchaseMoney.setText("");
        jtxBookLanguage.setText("");
        jtxBookStation.setText("");
        jtxBookBorrowMoneyNum1.setText("");
        btnAddInfo.setEnabled(false);

    }
    public void btnReset_actionPerformed(ActionEvent e) {
        qingchu();

    }

    public void jBttszxgl_actionPerformed(ActionEvent e) {
      //  if(jBttszxgl.getText().trim().equals("图书注销管理")){
            booksLogOutPanel1.setVisible(true);
            jSpSystemPanel.setVisible(false);
      //      jBttszxgl.setText("图书编目入库");
       //     jBttsbmrk.setText("图书注销管理");
     //   }
      //  else
      // {
         //   booksLogOutPanel1.setVisible(false);
          //  jSpSystemPanel.setVisible(true);
          //  jBttszxgl.setText("图书注销管理");
          //  jBttsbmrk.setText("图书编目入库");

       // }
    }

    public void jBttsbmrk_actionPerformed(ActionEvent e) {
        booksLogOutPanel1.setVisible(false);
        jSpSystemPanel.setVisible(true);

    }

    public void jTeaRightTop_mouseClicked(MouseEvent e) {
        if(e.getButton()==e.BUTTON1)
        {
           String name="";
           String type="";
           String num="";
           String chubanshe="";
           String zuozhe="";
           String dingjia="";
           String yuyan="";
           String weizhi="";
           String shuliang="";
           //获取
         name=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),0).toString();
         //  type=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),0).toString();
           num=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),1).toString();
           chubanshe=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),4).toString();
           zuozhe=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),3).toString();
           dingjia=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),6).toString();
           yuyan=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),7).toString();
           weizhi=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),8).toString();
           shuliang=jTeaRightTop.getValueAt(jTeaRightTop.getSelectedRow(),5).toString();
           jtxBookName2.setText(name);
           jtxBookNum2.setText(num);
           jtxBookConcern2.setText(chubanshe);
           jtxBookAuthor2.setText(zuozhe);
           jtxBookPurchaseMoney2.setText(dingjia);
           jtxBookBorrowMoneyNum2.setText(shuliang);
           jtxBookStation2.setText(weizhi);
           jtxBookLanguage2.setText(yuyan);
           jtxBookType2.setText(fenlei);



        }
    }

    public void btnReset2_actionPerformed(ActionEvent e) {
        jtxBookName2.setText("请点击输入名称");
        jtxBookType2.setText("");
        jtxBookNum2.setText("请点击输入编号");
        jtxBookConcern2.setText("");
        jtxBookAuthor2.setText("");
        jtxBookPurchaseMoney2.setText("");
        jtxBookLanguage2.setText("");
        jtxBookStation2.setText("");
        jtxBookBorrowMoneyNum2.setText("");

    }


}


class BooksInfoSystemPanel_btnReset2_actionAdapter implements ActionListener {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_btnReset2_actionAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.btnReset2_actionPerformed(e);
    }
}


class BooksInfoSystemPanel_jTeaRightTop_mouseAdapter extends MouseAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jTeaRightTop_mouseAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void mouseClicked(MouseEvent e) {
        adaptee.jTeaRightTop_mouseClicked(e);
    }
}


class BooksInfoSystemPanel_jBttsbmrk_actionAdapter implements ActionListener {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jBttsbmrk_actionAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.jBttsbmrk_actionPerformed(e);
    }
}


class BooksInfoSystemPanel_btnReset_actionAdapter implements ActionListener {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_btnReset_actionAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.btnReset_actionPerformed(e);
    }
}


class BooksInfoSystemPanel_btnAddInfo_actionAdapter implements ActionListener {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_btnAddInfo_actionAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.btnAddInfo_actionPerformed(e);
    }
}


class BooksInfoSystemPanel_jtxBookNum1_mouseAdapter extends MouseAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jtxBookNum1_mouseAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void mouseClicked(MouseEvent e) {
        adaptee.jtxBookNum1_mouseClicked(e);
    }
}


class BooksInfoSystemPanel_jtxBookNum2_mouseAdapter extends MouseAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jtxBookNum2_mouseAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void mouseClicked(MouseEvent e) {
        adaptee.jtxBookNum2_mouseClicked(e);
    }
}


class BooksInfoSystemPanel_jTreBooks_mouseAdapter extends MouseAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jTreBooks_mouseAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void mouseClicked(MouseEvent e) {
        adaptee.jTreBooks_mouseClicked(e);
    }
}


class BooksInfoSystemPanel_btnQueRen_actionAdapter implements ActionListener {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_btnQueRen_actionAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.btnQueRen_actionPerformed(e);
    }
}


class BooksInfoSystemPanel_jPaneRightBottom_componentAdapter extends
        ComponentAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jPaneRightBottom_componentAdapter(BooksInfoSystemPanel
            adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {
        adaptee.jPaneRightBottom_componentResized(e);
    }
}


class BooksInfoSystemPanel_jPanRight_hierarchyBoundsAdapter extends
        HierarchyBoundsAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jPanRight_hierarchyBoundsAdapter(BooksInfoSystemPanel
            adaptee) {
        this.adaptee = adaptee;
    }

    public void ancestorResized(HierarchyEvent e) {
        adaptee.jPanRight_ancestorResized(e);
    }
}


class BooksInfoSystemPanel_jBttszxgl_actionAdapter implements ActionListener {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jBttszxgl_actionAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.jBttszxgl_actionPerformed(e);
    }
}


class BooksInfoSystemPanel_jScright_componentAdapter extends ComponentAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jScright_componentAdapter(BooksInfoSystemPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jScright_componentResized(e);
    }
}


class BooksInfoSystemPanel_jScright_hierarchyBoundsAdapter extends
        HierarchyBoundsAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_jScright_hierarchyBoundsAdapter(BooksInfoSystemPanel
            adaptee) {
        this.adaptee = adaptee;
    }

    public void ancestorResized(HierarchyEvent e) {
        adaptee.jScright_ancestorResized(e);
    }
}


class BooksInfoSystemPanel_this_hierarchyBoundsAdapter extends
        HierarchyBoundsAdapter {
    private BooksInfoSystemPanel adaptee;
    BooksInfoSystemPanel_this_hierarchyBoundsAdapter(BooksInfoSystemPanel
            adaptee) {
        this.adaptee = adaptee;
    }

    public void ancestorResized(HierarchyEvent e) {
        adaptee.this_ancestorResized(e);
    }
}

⌨️ 快捷键说明

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