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

📄 图片库_show.java

📁 这是一个图书和学生信息的管理系统,它可以在数据库里面增加,修改,删除数据来管理图书和学生信息
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package 图片库;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */import com.zdsoft.gui.*;import com.zdsoft.datacenter.ASDatacenter;import com.zdsoft.datastore.ASDatastore;import javax.swing.*;import java.awt.*;import java.awt.event.*;import ZQ.*;public class 图片库_show extends ASPanel{  Icon a = new ImageIcon("湖南师范大学.GIF");  Icon b = new ImageIcon("华南理工大学.GIF");  Icon c = new ImageIcon("上海外语学院.GIF");  Icon d = new ImageIcon("四川大学.GIF");  Icon v = new ImageIcon("武汉大学.GIF");  Icon f = new ImageIcon("美女10.GIF");  Icon g = new ImageIcon("美女11.GIF");  Icon h = new ImageIcon("美女12.GIF");  Icon i = new ImageIcon("美女13.GIF");  Icon j = new ImageIcon("美女7.GIF");  Icon k = new ImageIcon("美女15.GIF");  Icon l = new ImageIcon("美女16.GIF");  Icon m = new ImageIcon("美女17.GIF");  Icon n = new ImageIcon("美女18.GIF");  Icon o = new ImageIcon("美女19.GIF");  Icon p = new ImageIcon("美女20.GIF");  Icon q = new ImageIcon("美女3.GIF");  Icon r = new ImageIcon("美女4.GIF");  Icon s = new ImageIcon("美女6.GIF");  Icon t = new ImageIcon("美女9.GIF");  Icon u = new ImageIcon("美女8.GIF");  Icon w = new ImageIcon("MEINV.GIF");  Icon x = new ImageIcon("美女.GIF");  JPanel jPanel1 = new JPanel();  JPanel jPanel2 = new JPanel();  JPanel jPanel3 = new JPanel();  JSplitPane jSplitPane1 = new JSplitPane();  JPanel jPanel4 = new JPanel();  JPanel jPanel5 = new JPanel();  JButton jButton1 = new JButton();  JButton jButton2 = new JButton();  JButton jButton3 = new JButton();  JButton jButton9 = new JButton();  JButton jButton10 = new JButton();  JButton jButton11 = new JButton();  JButton jButton12 = new JButton();  JButton jButton13 = new JButton();  JButton jButton14 = new JButton();  JButton jButton15 = new JButton();  JButton jButton16 = new JButton();  JButton jButton17 = new JButton();  JButton jButton18 = new JButton();  JButton jButton19 = new JButton();  JButton jButton20 = new JButton();  JButton jButton21 = new JButton();  JButton jButton22 = new JButton();  JButton jButton23 = new JButton();  JButton jButton24 = new JButton();  JButton jButton25 = new JButton();  JButton jButton26 = new JButton();  JButton jButton27 = new JButton();  JButton jButton28 = new JButton();  JButton jButton29 = new JButton();  JButton jButton30 = new JButton();  FlowLayout flowLayout1 = new FlowLayout();  JScrollPane jScrollPane1 = new JScrollPane();  JLabel tp1 = new JLabel();  public 图片库_show() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  private void jbInit() throws Exception {    jPanel3.setPreferredSize(new Dimension(0, 0));    jPanel2.setPreferredSize(new Dimension(0, 0));    jPanel1.setPreferredSize(new Dimension(700, 700));    jPanel4.setDebugGraphicsOptions(0);    jPanel4.setMinimumSize(new Dimension(60, 675));    jPanel4.setPreferredSize(new Dimension(0, 35));    jPanel4.setLayout(flowLayout1);    jPanel5.setPreferredSize(new Dimension(780, 680));    this.setPreferredSize(new Dimension(800, 800));    jButton1.setText("jButton1");    jButton2.setText("jButton2");    jButton3.setText("jButton3");    jButton9.setFont(new java.awt.Font("Serif", 0, 12));    jButton9.setForeground(Color.magenta);    jButton9.setMaximumSize(new Dimension(71, 27));    jButton9.setMinimumSize(new Dimension(71, 27));    jButton9.setPreferredSize(new Dimension(71, 27));    jButton9.setText("图片14");    jButton9.addActionListener(new 图片库_show_jButton9_actionAdapter(this));    jButton10.setFont(new java.awt.Font("Serif", 0, 12));    jButton10.setForeground(Color.magenta);    jButton10.setMaximumSize(new Dimension(71, 27));    jButton10.setMinimumSize(new Dimension(71, 27));    jButton10.setPreferredSize(new Dimension(71, 27));    jButton10.setText("图片15");    jButton10.addActionListener(new 图片库_show_jButton10_actionAdapter(this));    jButton11.setFont(new java.awt.Font("Serif", 0, 12));    jButton11.setForeground(Color.magenta);    jButton11.setMaximumSize(new Dimension(71, 27));    jButton11.setMinimumSize(new Dimension(71, 27));    jButton11.setPreferredSize(new Dimension(71, 27));    jButton11.setText("图片16");    jButton11.addActionListener(new 图片库_show_jButton11_actionAdapter(this));    jButton12.setFont(new java.awt.Font("Serif", 0, 12));    jButton12.setForeground(Color.magenta);    jButton12.setMaximumSize(new Dimension(71, 27));    jButton12.setMinimumSize(new Dimension(71, 27));    jButton12.setPreferredSize(new Dimension(71, 27));    jButton12.setText("图片17");    jButton12.addActionListener(new 图片库_show_jButton12_actionAdapter(this));    jButton13.setFont(new java.awt.Font("Serif", 0, 12));    jButton13.setForeground(Color.magenta);    jButton13.setMaximumSize(new Dimension(71, 27));    jButton13.setMinimumSize(new Dimension(71, 27));    jButton13.setPreferredSize(new Dimension(71, 27));    jButton13.setText("图片18");    jButton13.addActionListener(new 图片库_show_jButton13_actionAdapter(this));    jButton14.setFont(new java.awt.Font("Serif", 0, 12));    jButton14.setForeground(Color.magenta);    jButton14.setMaximumSize(new Dimension(71, 27));    jButton14.setMinimumSize(new Dimension(71, 27));    jButton14.setPreferredSize(new Dimension(71, 27));    jButton14.setText("图片19");    jButton14.addActionListener(new 图片库_show_jButton14_actionAdapter(this));    jButton15.setFont(new java.awt.Font("Serif", 0, 12));    jButton15.setForeground(Color.magenta);    jButton15.setMaximumSize(new Dimension(71, 27));    jButton15.setMinimumSize(new Dimension(71, 27));    jButton15.setPreferredSize(new Dimension(71, 27));    jButton15.setText("图片20");    jButton15.addActionListener(new 图片库_show_jButton15_actionAdapter(this));    jButton16.setFont(new java.awt.Font("Serif", 0, 12));    jButton16.setForeground(Color.magenta);    jButton16.setMaximumSize(new Dimension(71, 27));    jButton16.setMinimumSize(new Dimension(71, 27));    jButton16.setPreferredSize(new Dimension(71, 27));    jButton16.setText("图片21");    jButton16.addActionListener(new 图片库_show_jButton16_actionAdapter(this));    jButton17.setFont(new java.awt.Font("Serif", 0, 12));    jButton17.setForeground(Color.magenta);    jButton17.setMaximumSize(new Dimension(71, 27));    jButton17.setMinimumSize(new Dimension(71, 27));    jButton17.setPreferredSize(new Dimension(71, 27));    jButton17.setText("图片22");    jButton17.addActionListener(new 图片库_show_jButton17_actionAdapter(this));    jButton18.setFont(new java.awt.Font("Serif", 0, 12));    jButton18.setForeground(Color.magenta);    jButton18.setText("图片1");    jButton18.addActionListener(new 图片库_show_jButton18_actionAdapter(this));    jButton19.setFont(new java.awt.Font("Serif", 0, 12));    jButton19.setForeground(Color.magenta);    jButton19.setText("图片2");    jButton19.addActionListener(new 图片库_show_jButton19_actionAdapter(this));    jButton20.setFont(new java.awt.Font("Serif", 0, 12));    jButton20.setForeground(Color.magenta);    jButton20.setText("图片3");    jButton20.addActionListener(new 图片库_show_jButton20_actionAdapter(this));    jButton21.setFont(new java.awt.Font("Serif", 0, 12));    jButton21.setForeground(Color.magenta);    jButton21.setText("图片4");    jButton21.addActionListener(new 图片库_show_jButton21_actionAdapter(this));    jButton22.setFont(new java.awt.Font("Serif", 0, 12));    jButton22.setForeground(Color.magenta);    jButton22.setText("图片5");    jButton22.addActionListener(new 图片库_show_jButton22_actionAdapter(this));    jButton23.setFont(new java.awt.Font("Serif", 0, 12));    jButton23.setForeground(Color.magenta);    jButton23.setText("图片6");    jButton23.addActionListener(new 图片库_show_jButton23_actionAdapter(this));    jButton24.setFont(new java.awt.Font("Serif", 0, 12));    jButton24.setForeground(Color.magenta);    jButton24.setText("图片7");    jButton24.addActionListener(new 图片库_show_jButton24_actionAdapter(this));    jButton25.setFont(new java.awt.Font("Serif", 0, 12));    jButton25.setForeground(Color.magenta);    jButton25.setText("图片8");    jButton25.addActionListener(new 图片库_show_jButton25_actionAdapter(this));    jButton26.setFont(new java.awt.Font("Serif", 0, 12));    jButton26.setForeground(Color.magenta);    jButton26.setText("图片9");    jButton26.addActionListener(new 图片库_show_jButton26_actionAdapter(this));    jButton27.setFont(new java.awt.Font("Serif", 0, 12));    jButton27.setForeground(Color.magenta);    jButton27.setText("图片10");    jButton27.addActionListener(new 图片库_show_jButton27_actionAdapter(this));    jButton28.setFont(new java.awt.Font("Serif", 0, 12));    jButton28.setForeground(Color.magenta);    jButton28.setText("图片11");    jButton28.addActionListener(new 图片库_show_jButton28_actionAdapter(this));    jButton29.setFont(new java.awt.Font("Serif", 0, 12));    jButton29.setForeground(Color.magenta);    jButton29.setText("图片12");    jButton29.addActionListener(new 图片库_show_jButton29_actionAdapter(this));    jButton30.setFont(new java.awt.Font("Serif", 0, 12));    jButton30.setForeground(Color.magenta);    jButton30.setText("图片13");    jButton30.addActionListener(new 图片库_show_jButton30_actionAdapter(this));    jScrollPane1.setPreferredSize(new Dimension(600, 580));    jPanel4.add(jButton18, null);    jPanel4.add(jButton19, null);    jPanel4.add(jButton20, null);    jPanel4.add(jButton21, null);    jPanel4.add(jButton22, null);    jPanel4.add(jButton23, null);    jPanel4.add(jButton24, null);    jPanel4.add(jButton25, null);    jPanel4.add(jButton26, null);    jPanel4.add(jButton27, null);    jPanel4.add(jButton28, null);    jPanel4.add(jButton29, null);    jPanel4.add(jButton30, null);    this.add(jPanel1, BorderLayout.CENTER);    jPanel1.add(jSplitPane1, null);    jSplitPane1.add(jPanel4, JSplitPane.LEFT);    jPanel4.add(jButton9, null);    jPanel4.add(jButton10, null);    jPanel4.add(jButton11, null);    jPanel4.add(jButton12, null);    jPanel4.add(jButton13, null);    jPanel4.add(jButton14, null);    jPanel4.add(jButton15, null);    jPanel4.add(jButton16, null);    jPanel4.add(jButton17, null);    jSplitPane1.add(jPanel5, JSplitPane.RIGHT);    jPanel5.add(jScrollPane1, null);    jScrollPane1.getViewport().add(tp1, null);    this.add(jPanel2, BorderLayout.SOUTH);    this.add(jPanel3, BorderLayout.NORTH);  }  void jButton17_actionPerformed(ActionEvent e) {    tp1.setIcon(a);  }  void jButton18_actionPerformed(ActionEvent e) {    tp1.setIcon(b);  }  void jButton19_actionPerformed(ActionEvent e) {   tp1.setIcon(c);  }  void jButton20_actionPerformed(ActionEvent e) {   tp1.setIcon(d);  }  void jButton21_actionPerformed(ActionEvent e) {   tp1.setIcon(v);  }  void jButton22_actionPerformed(ActionEvent e) {   tp1.setIcon(f);  }  void jButton23_actionPerformed(ActionEvent e) {   tp1.setIcon(g);  }  void jButton24_actionPerformed(ActionEvent e) {   tp1.setIcon(h);  }  void jButton25_actionPerformed(ActionEvent e) {   tp1.setIcon(i);  }  void jButton26_actionPerformed(ActionEvent e) {   tp1.setIcon(j);  }  void jButton27_actionPerformed(ActionEvent e) {   tp1.setIcon(k);

⌨️ 快捷键说明

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