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

📄 dailpperationsystemmagzinchaxunpanel.java

📁 图书管理系统源代码,05年某人写的,还算不错
💻 JAVA
📖 第 1 页 / 共 3 页
字号:

                 }

             } catch (SQLException ex) {
                 System.out.println(ex.toString());
                 ex.printStackTrace();
             }
             db.myClose(1);
         }
         DefaultTableModel model = new DefaultTableModel(dateReader,
                 titleReader);
         jTableReader.setModel(model);
         jTableReader.updateUI();


        }

        public void jScleft_componentResized(ComponentEvent e) {
            jPanRight.setSize((jSpSystemPanel.getWidth() - jScleft.getWidth()),
                              (jSpSystemPanel.getHeight() - 1));
        }

    public void jTableReader_mouseClicked(MouseEvent e) {
        if (jTableReader.getSelectedRow() > -1) {
             /*
             for (int i = 0; i < titleReader2.length; i++)
                 JOptionPane.showMessageDialog(null,
                                               dataReader2[jTableReader.getSelectedRow()][
                                               i] + "\n" + i+"\n"+titleReader2[i]);
             */

             jtxbookTypeX.setText(dataReader2[jTableReader.getSelectedRow()][1].toString());
             jTxbookConcernX.setText(dataReader2[jTableReader.getSelectedRow()][0].toString());
             jTxpurchaseMoneyX.setText(dataReader2[jTableReader.getSelectedRow()][4].toString());
             jTxNumberX.setText(dataReader2[jTableReader.getSelectedRow()][3].toString());
             jtxbooksNamex.setText(dataReader2[jTableReader.getSelectedRow()][2].toString());
             jtxbooksNumX.setText(dataReader2[jTableReader.getSelectedRow()][19].toString());
             jTextField2.setText(dataReader2[jTableReader.getSelectedRow()][6].toString());
             jTxReaderNumX.setText(dataReader2[jTableReader.getSelectedRow()][7].toString());
             jTxbookAuthorX.setText(dataReader2[jTableReader.getSelectedRow()][16].toString());
             jTextField1.setText(" 1年 ");
             jtxMagazineNum.setText(dataReader2[jTableReader.getSelectedRow()][11].toString());

         }

    }
}


class DailPperationSystemMagzinChaXunPanel_jTabBooks_mouseAdapter extends
        MouseAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jTabBooks_mouseAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jButtonD_actionAdapter implements
        ActionListener {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jButtonD_actionAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jButtonB_actionAdapter implements
        ActionListener {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jButtonB_actionAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jButtonC_actionAdapter implements
        ActionListener {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jButtonC_actionAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jScleft_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jScleft_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jTpRightBottom_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jTpRightBottom_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jTpRightBottom_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jButtonA_actionAdapter implements
        ActionListener {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jButtonA_actionAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jPaneRightBottom_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jPaneRightBottom_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jPaneRightBottom_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jTableReader_mouseAdapter extends
        MouseAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jTableReader_mouseAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jPanel3_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jPanel3_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

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


class DailPperationSystemMagzinChaXunPanel_jPanRight_hierarchyBoundsAdapter extends
        HierarchyBoundsAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jPanRight_hierarchyBoundsAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void ancestorResized(HierarchyEvent e) {

        adaptee.jPanRight_ancestorResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jPanelRightTop_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jPanelRightTop_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jPanelRightTop_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jPanRight_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jPanRight_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jPanRight_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jScright_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jScright_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jScright_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jScright_hierarchyBoundsAdapter extends
        HierarchyBoundsAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jScright_hierarchyBoundsAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void ancestorResized(HierarchyEvent e) {

        adaptee.jScright_ancestorResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_jSpSystemPanel_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_jSpSystemPanel_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.jSpSystemPanel_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_this_componentAdapter extends
        ComponentAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_this_componentAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void componentResized(ComponentEvent e) {

        adaptee.this_componentResized(e);
    }
}


class DailPperationSystemMagzinChaXunPanel_this_hierarchyBoundsAdapter extends
        HierarchyBoundsAdapter {
    private DailPperationSystemMagzinChaXunPanel adaptee;
    DailPperationSystemMagzinChaXunPanel_this_hierarchyBoundsAdapter(
            DailPperationSystemMagzinChaXunPanel adaptee) {
        this.adaptee = adaptee;
    }

    public void ancestorResized(HierarchyEvent e) {

        adaptee.this_ancestorResized(e);
    }
}

⌨️ 快捷键说明

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