亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? customerview.java

?? 管理dvd碟片的軟件
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
package dvd;

import javax.swing.*;
import com.borland.jbcl.layout.*;
import java.awt.*;
import java.awt.event.*;
import com.borland.dbswing.*;
import java.sql.*;
import javax.swing.Timer;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public class CustomerView extends JFrame {
  private  String names[]={"USA","HK","China","FR","TW"};

  private Connection connection;
  private   String url = "jdbc:odbc:sql";
  java.util.Date date=new java.util.Date();
  String Time=date.toString();
  Timer timer;

  JPanel jPanel1 = new JPanel();
  JLabel jLabel1 = new JLabel();
  JPanel jPanel2 = new JPanel();
  JButton jButton1 = new JButton();
  JPanel jPanel3 = new JPanel();
  JLabel jLabel2 = new JLabel();
  ButtonGroup buttonGroup1 = new ButtonGroup();
  ButtonGroup buttonGroup2 = new ButtonGroup();
  XYLayout xYLayout2 = new XYLayout();
  ButtonGroup buttonGroup3 = new ButtonGroup();
  JList jList1 = new JList();
  JTextField jtx1 = new JTextField();
  JPanel jPanel4 = new JPanel();
  XYLayout xYLayout4 = new XYLayout();
  JLabel jLabel3 = new JLabel();
  JLabel jLabel4 = new JLabel();
  JTextField jtx2 = new JTextField();
  JLabel jLabel5 = new JLabel();
  JButton jButton2 = new JButton();
  JPanel jPanel6 = new JPanel();
  JLabel jLabel6 = new JLabel();
  XYLayout xYLayout5 = new XYLayout();
  JComboBox jcb2 = new JComboBox(names);
  JLabel jLabel7 = new JLabel();
  JTextField jtx3 = new JTextField();
  JLabel jLabel8 = new JLabel();
  JButton jButton3 = new JButton();
  JPanel jPanel7 = new JPanel();
  JLabel jLabel9 = new JLabel();
  JLabel jLabel10 = new JLabel();
  JLabel jLabel11 = new JLabel();
  GridBagLayout gridBagLayout2 = new GridBagLayout();
  XYLayout xYLayout1 = new XYLayout();
  JComboBox jcb1 = new JComboBox(names);
  JButton jButton4 = new JButton();
  ButtonGroup buttonGroup4 = new ButtonGroup();
  JRadioButton jrb1 = new JRadioButton();
  JRadioButton jrb2 = new JRadioButton();
  JButton jButton5 = new JButton();
  JButton jButton6 = new JButton();
  JLabel jl2 = new JLabel();
  XYLayout xYLayout3 = new XYLayout();


//  Entry a=new Entry();


  public CustomerView() {
    try {
      jbInit();
    }
    catch(Exception e) {
      e.printStackTrace();
    }
  }
  private void jbInit() throws Exception {
    this.getContentPane().setLayout(gridBagLayout2);
    jPanel1.setBackground(Color.lightGray);
    jLabel1.setFont(new java.awt.Font("Dialog", 0, 20));
    jLabel1.setForeground(Color.yellow);
    jLabel1.setText("Welcome to HIT DVD shop");
    jLabel2.setIconTextGap(4);
    jButton1.setBackground(Color.orange);
    jButton1.setFont(new java.awt.Font("DialogInput", 2, 15));
    jButton1.setForeground(Color.blue);
    jButton1.setToolTipText("查詢本店所有供應(yīng)影片及影片相關(guān)信息");
    jButton1.setActionCommand("影片總覽");
    jButton1.setBorderPainted(true);
    jButton1.setHorizontalAlignment(SwingConstants.CENTER);
    jButton1.setText("影片總覽");
    jButton1.addActionListener(new CustomerView_jButton1_actionAdapter(this));

    jPanel2.setBackground(Color.lightGray);
    jPanel2.setPreferredSize(new Dimension(285, 38));
    jPanel2.setLayout(xYLayout3);
    jPanel3.setBackground(Color.lightGray);
    jPanel3.setLayout(xYLayout2);
    jLabel2.setFont(new java.awt.Font("Dialog", 0, 18));
    jLabel2.setForeground(SystemColor.activeCaption);
    jLabel2.setText("影片搜索");
    jtx1.setFont(new java.awt.Font("Dialog", 0, 14));
    jtx1.setForeground(Color.magenta);
    jtx1.setText("");
    jtx1.addActionListener(new CustomerView_jtx1_actionAdapter(this));
    jPanel4.setLayout(xYLayout4);
    jPanel4.setBackground(Color.lightGray);
    jLabel3.setFont(new java.awt.Font("Dialog", 0, 18));
    jLabel3.setForeground(SystemColor.activeCaption);
    jLabel3.setText("演員搜索");
    this.getContentPane().setBackground(Color.lightGray);
    this.setTitle("");
    jLabel4.setFont(new java.awt.Font("Dialog", 0, 15));
    jLabel4.setForeground(SystemColor.desktop);
    jLabel4.setText("按演員國(guó)籍");
    jtx2.setForeground(Color.magenta);
    jtx2.setToolTipText("輸入想要查詢的演員名");
    jtx2.setText("");
    jtx2.addActionListener(new CustomerView_jtx2_actionAdapter(this));
    jLabel5.setFont(new java.awt.Font("Dialog", 0, 15));
    jLabel5.setForeground(SystemColor.desktop);
    jLabel5.setText("按演員姓名");
    jButton2.setFont(new java.awt.Font("Dialog", 0, 18));
    jButton2.setForeground(Color.blue);
    jButton2.setActionCommand("搜索");
    jButton2.setText("搜索");
    jButton2.addActionListener(new CustomerView_jButton2_actionAdapter(this));
    jLabel6.setFont(new java.awt.Font("Dialog", 0, 18));
    jLabel6.setForeground(SystemColor.activeCaption);
    jLabel6.setText("導(dǎo)演搜索");
    jPanel6.setLayout(xYLayout5);
    jLabel7.setFont(new java.awt.Font("Dialog", 0, 15));
    jLabel7.setForeground(SystemColor.activeCaption);
    jLabel7.setMinimumSize(new Dimension(70, 20));
    jLabel7.setText("按導(dǎo)演國(guó)籍");
    jtx3.setFont(new java.awt.Font("MS Sans Serif", 0, 11));
    jtx3.setForeground(Color.magenta);
    jtx3.setToolTipText("輸入想要查詢的導(dǎo)演名");
    jtx3.setText("");
    jtx3.addActionListener(new CustomerView_jtx3_actionAdapter(this));
    jLabel8.setFont(new java.awt.Font("Dialog", 0, 15));
    jLabel8.setForeground(SystemColor.activeCaption);
    jLabel8.setText("按導(dǎo)演姓名");
    jButton3.setFont(new java.awt.Font("Dialog", 0, 18));
    jButton3.setForeground(Color.blue);
    jButton3.setText("搜索");
    jButton3.addActionListener(new CustomerView_jButton3_actionAdapter(this));

    jPanel6.setBackground(Color.lightGray);
    jPanel7.setBackground(Color.orange);
    jPanel7.setLayout(xYLayout1);
    jLabel9.setFont(new java.awt.Font("Dialog", 0, 14));
    jLabel9.setForeground(Color.red);
    jLabel9.setText("總店地址:哈工大二區(qū)五公寓一樓");
    jLabel10.setFont(new java.awt.Font("Dialog", 0, 14));
    jLabel10.setForeground(Color.red);
    jLabel10.setText("碟片咨詢電話:82339727");
    jLabel11.setFont(new java.awt.Font("Dialog", 0, 14));
    jLabel11.setForeground(Color.red);
    jLabel11.setText("碟片咨詢E-mail:jacky_didi@hit.edu.cn");
    jcb2.addActionListener(new CustomerView_jcb2_actionAdapter(this));
    jcb1.addActionListener(new CustomerView_jcb1_actionAdapter(this));
    jButton4.setFont(new java.awt.Font("Dialog", 0, 18));
    jButton4.setForeground(Color.blue);
    jButton4.setText("搜索");
    jButton4.addActionListener(new CustomerView_jButton4_actionAdapter(this));
    jrb1.setBackground(Color.lightGray);
    jrb1.setFont(new java.awt.Font("Dialog", 0, 14));
    jrb1.setText("模糊");
    jrb2.setBackground(Color.lightGray);
    jrb2.setFont(new java.awt.Font("Dialog", 0, 15));
    jrb2.setToolTipText("");
    jrb2.setSelected(true);
    jrb2.setText("精確");
    jButton5.setFont(new java.awt.Font("Dialog", 0, 18));
    jButton5.setForeground(Color.blue);
    jButton5.setText("搜索");
    jButton5.addActionListener(new CustomerView_jButton5_actionAdapter(this));
    jButton6.setFont(new java.awt.Font("Dialog", 0, 18));
    jButton6.setForeground(Color.blue);
    jButton6.setText("搜索");
    jButton6.addActionListener(new CustomerView_jButton6_actionAdapter(this));
    jcb1.addActionListener(new CustomerView_jcb1_actionAdapter(this));
    jcb1.setForeground(Color.magenta);
    jcb2.setForeground(Color.magenta);
    jl2.setForeground(new Color(0, 125, 0));
    jl2.setText("");
    jPanel3.add(jLabel2,  new XYConstraints(54, 8, 74, 29));
    jPanel3.add(jList1, new XYConstraints(160, 11, -1, -1));
    jPanel3.add(jButton4,     new XYConstraints(338, 8, 79, 30));
    jPanel3.add(jtx1, new XYConstraints(132, 8, 142, 29));
    jPanel3.add(jrb1, new XYConstraints(138, 41, 60, 19));
    jPanel3.add(jrb2, new XYConstraints(204, 41, 66, 19));
    this.getContentPane().add(jPanel2,     new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0
        ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, -2, 0, 0), 164, 96));
    jPanel2.add(jl2,  new XYConstraints(299, 12, 230, 22));
    jPanel2.add(jButton1, new XYConstraints(50, 2, 225, 36));
    this.getContentPane().add(jPanel4,          new GridBagConstraints(0, 3, 1, 1, 1.0, 1.0
        ,GridBagConstraints.SOUTHWEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 1), 74, 100));
    jPanel7.add(jLabel11, new XYConstraints(146, 52, 240, 23));
    jPanel7.add(jLabel10, new XYConstraints(101, 33, 162, 19));
    jPanel7.add(jLabel9,  new XYConstraints(30, 8, -1, 18));
    this.getContentPane().add(jPanel6,       new GridBagConstraints(0, 4, 1, 1, 1.0, 1.0
        ,GridBagConstraints.SOUTHEAST, GridBagConstraints.HORIZONTAL, new Insets(6, 0, 0, 0), 17, 95));
    this.getContentPane().add(jPanel1,                            new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0
        ,GridBagConstraints.NORTHEAST, GridBagConstraints.HORIZONTAL, new Insets(3, 0, 5, 0), 192, 87));
    jPanel1.add(jLabel1, null);
    jPanel6.add(jcb2,  new XYConstraints(140, 20, 96, 31));
    jPanel6.add(jLabel7,new XYConstraints(141, 0, 94, 25));
    jPanel6.add(jLabel8,  new XYConstraints(141, 49, 82, 24));
    jPanel6.add(jLabel6,  new XYConstraints(54, 32, 84, 25));
    jPanel6.add(jButton3,    new XYConstraints(338, 20, 79, 30));
    jPanel6.add(jtx3,        new XYConstraints(140, 68, 96, 31));
    jPanel6.add(jButton6,   new XYConstraints(338, 68, 79, 30));
    this.getContentPane().add(jPanel7,   new GridBagConstraints(0, 5, 1, 4, 1.0, 1.0
        ,GridBagConstraints.EAST, GridBagConstraints.HORIZONTAL, new Insets(1, 0, 3, 0), 0, 91));
    jPanel4.add(jcb1,  new XYConstraints(141, 20, 96, 31));
    jPanel4.add(jtx2,   new XYConstraints(140, 69, 96, 31));
    jPanel4.add(jLabel5,   new XYConstraints(141, 48, 96, -1));
    jPanel4.add(jLabel4, new XYConstraints(141, 4, 91, 19));
    jPanel4.add(jButton2,      new XYConstraints(338, 20, 79, 30));
    jPanel4.add(jButton5,   new XYConstraints(338, 69, 79, 30));
    jPanel4.add(jLabel3,  new XYConstraints(54, 42, -1, 28));
    this.getContentPane().add(jPanel3,                             new GridBagConstraints(0, 2, 1, 1, 1.0, 1.0
        ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, -2, 2, 0), 166, 101));
    buttonGroup1.add(jrb1);
    buttonGroup1.add(jrb2);
    int delay = 1;//milliseconds
    ActionListener taskPerformer = new ActionListener() {
      public void actionPerformed(ActionEvent evt) {
        jl2.setText("當(dāng)前日期:"+new java.util.Date().toString());
      }
    };
    timer=new Timer(delay, taskPerformer);
    timer.start();

  }

  void jButton1_actionPerformed(ActionEvent e) {
    try {
      Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );

      connection = DriverManager.getConnection(
          url );
    }
    catch ( ClassNotFoundException cnfex ) {
      System.err.println(
          "Failed to load JDBC/ODBC driver." );
      cnfex.printStackTrace();
      System.exit( 1 );  // terminate program
    }
    catch ( SQLException sqlex ) {
      System.err.println( "Unable to connect" );
      sqlex.printStackTrace();
    }

    DVDFrame movieFrame=new DVDFrame(connection);
    movieFrame.setSize(450,450);
    movieFrame.show();

  }



  void jcb2_actionPerformed(ActionEvent e) {

  }

  void jcb1_actionPerformed(ActionEvent e) {

  }

  void jtx3_actionPerformed(ActionEvent e) {

  }

  void jButton2_actionPerformed(ActionEvent e) {
    String roleNation= jcb1.getSelectedItem().toString();

    String quire3="SELECT * FROM role where r_nation like '%"+roleNation+"%'";
    try {//3
      Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );

      connection = DriverManager.getConnection(  url );
    }//3
    catch ( ClassNotFoundException cnfex ) {//4
      System.err.println(
         "Failed to load JDBC/ODBC driver." );
     cnfex.printStackTrace();
     System.exit( 1 );  // terminate program
   }//4
   catch ( SQLException sqlex ) {//5
     System.err.println( "Unable to connect" );
     sqlex.printStackTrace();
   }//5

   DVDFrame movieFrame=new DVDFrame(connection,quire3);
   movieFrame.setSize(450,450);


 }

 void jtx1_actionPerformed(ActionEvent e) {


 }

 void jButton4_actionPerformed(ActionEvent e) {//0
   String  movieName= jtx1.getText().trim();


   if (!movieName.equals(""))
   {//1
     String quire1="SELECT * FROM movie_inf  where 中文名 like '%"+movieName+"%'";
     String quire2="select * from movie_inf where 中文名='"+movieName+"'";
     if(jrb1.isSelected()){//2

       try {//3
         Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );

         connection = DriverManager.getConnection(  url );
       }//3
       catch ( ClassNotFoundException cnfex ) {//4
         System.err.println(

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色网综合在线观看| 日韩亚洲电影在线| 日韩av高清在线观看| 久久久国产精品麻豆| 在线观看视频欧美| 成人少妇影院yyyy| 奇米一区二区三区| 亚洲永久精品大片| 国产精品欧美久久久久一区二区| 欧美精品在线一区二区三区| 91麻豆国产精品久久| 精品一区二区在线观看| 午夜精品久久久久久久久久久| 国产精品免费丝袜| 日韩精品一区二| 7777精品伊人久久久大香线蕉经典版下载 | 天堂蜜桃91精品| 国产亚洲一本大道中文在线| 中文字幕在线观看不卡| 欧美一级艳片视频免费观看| 欧美天堂亚洲电影院在线播放| 成人av高清在线| 国产成人亚洲综合a∨猫咪| 久久99精品久久久久久国产越南| 午夜伦理一区二区| 亚洲精品欧美在线| 亚洲黄色av一区| 亚洲乱码日产精品bd| 亚洲欧美日韩国产中文在线| 中文字幕不卡的av| 国产精品视频第一区| 国产无人区一区二区三区| 精品欧美一区二区三区精品久久| 欧美一区二区三区喷汁尤物| 欧美日韩国产一级片| 欧美日韩精品一区二区天天拍小说| 91浏览器打开| 91天堂素人约啪| 一本一道综合狠狠老| 色狠狠色狠狠综合| 欧美视频三区在线播放| 欧美日韩中文国产| 欧美日韩高清在线| 欧美巨大另类极品videosbest| 欧美丰满一区二区免费视频| 欧美日韩和欧美的一区二区| 56国语精品自产拍在线观看| 欧美一区二区精品| 精品成人私密视频| 久久九九久精品国产免费直播| 国产午夜三级一区二区三| 国产精品的网站| 一个色在线综合| 偷拍一区二区三区| 狠狠色伊人亚洲综合成人| 国产传媒欧美日韩成人| av激情综合网| 欧美日韩亚州综合| 日韩欧美亚洲国产另类| 国产三级一区二区三区| 国产精品动漫网站| 天堂成人国产精品一区| 久久爱www久久做| av在线不卡免费看| 在线视频国内自拍亚洲视频| 欧美一级片在线观看| 久久久久99精品国产片| 亚洲精品国产一区二区精华液| 日韩av一级片| 成人激情图片网| 欧美日韩中字一区| 久久久久久黄色| 亚洲一区二区综合| 久久er99热精品一区二区| 99国产一区二区三精品乱码| 欧美高清性hdvideosex| 欧美激情综合五月色丁香| 亚洲国产欧美在线| 国产麻豆91精品| 欧美日韩一区三区| 欧美国产精品劲爆| 丝袜亚洲精品中文字幕一区| 国产91丝袜在线播放| 欧美三级电影网站| 亚洲国产成人私人影院tom| 亚洲国产欧美在线人成| 高清视频一区二区| 5858s免费视频成人| 国产精品国产a级| 精品一区二区三区在线观看国产 | 欧美一区二区视频在线观看| 国产精品亲子伦对白| 免费成人性网站| 91成人在线精品| 国产亚洲综合在线| 五月婷婷另类国产| 97久久精品人人做人人爽| 日韩欧美成人一区二区| 一区二区三区国产豹纹内裤在线| 国产综合色在线视频区| 欧美日韩美女一区二区| 国产精品卡一卡二卡三| 韩国一区二区在线观看| 欧美日韩国产综合视频在线观看| 国产精品国产成人国产三级| 国产乱码精品一区二区三| 欧美精选一区二区| 亚洲一区二区三区视频在线 | 欧美中文字幕一区| 国产精品的网站| 懂色中文一区二区在线播放| 欧美精品久久久久久久多人混战| 亚洲视频一区二区在线观看| 成人性生交大合| 精品国产sm最大网站免费看| 日本欧美韩国一区三区| 欧美人体做爰大胆视频| 亚洲综合免费观看高清完整版 | 午夜精品福利一区二区三区蜜桃| 色偷偷成人一区二区三区91| 国产精品久久久久久妇女6080| 国产精品一二三四区| 精品国产在天天线2019| 久久av中文字幕片| 精品999久久久| 久久精品国产99| 欧美一区二区精品| 日本特黄久久久高潮| 欧美一级欧美一级在线播放| 日本不卡视频在线| 欧美一级精品在线| 久久精品国产亚洲高清剧情介绍| 日韩女优毛片在线| 久久99精品国产麻豆婷婷洗澡| 欧美一区二区三区四区视频| 奇米综合一区二区三区精品视频| 欧美精品777| 久久66热偷产精品| 精品国产第一区二区三区观看体验| 精品在线一区二区| 久久久蜜桃精品| 成人app软件下载大全免费| 中文字幕精品三区| 色综合久久天天综合网| 亚洲亚洲精品在线观看| 欧美嫩在线观看| 麻豆高清免费国产一区| 2021中文字幕一区亚洲| 国产成人在线看| 国产精品毛片久久久久久久| 91香蕉视频mp4| 亚洲一级二级在线| 欧美一区二区二区| 国产在线不卡一卡二卡三卡四卡| 国产三级精品视频| 91在线观看免费视频| 亚洲观看高清完整版在线观看| 91精品蜜臀在线一区尤物| 日本vs亚洲vs韩国一区三区二区| 久久―日本道色综合久久| jvid福利写真一区二区三区| 午夜视频一区二区| 日韩精品专区在线影院重磅| 国产成人aaa| 一区二区三区欧美激情| 日韩一区二区三区免费看| 国产成人在线网站| 亚洲黄色片在线观看| 日韩精品中文字幕在线不卡尤物| 岛国一区二区在线观看| 一区二区三区在线高清| 日韩欧美高清dvd碟片| 成人国产精品免费| 亚洲成av人片在www色猫咪| 国产午夜亚洲精品午夜鲁丝片 | jlzzjlzz亚洲女人18| 亚洲bdsm女犯bdsm网站| 久久综合九色综合久久久精品综合| 99久久久久久99| 精品一二三四在线| 有码一区二区三区| 久久久午夜电影| 色婷婷综合五月| 国产一本一道久久香蕉| 一区二区三区在线免费观看| 久久午夜老司机| 在线欧美一区二区| 国产成人精品亚洲777人妖 | 97久久久精品综合88久久| 麻豆国产91在线播放| 亚洲一区二区三区三| 久久精品一区蜜桃臀影院| 精品污污网站免费看| 成人在线视频首页| 狠狠色伊人亚洲综合成人| 亚洲一区二区三区视频在线| 欧美国产激情二区三区| 日韩欧美在线一区二区三区| 色一情一伦一子一伦一区| 国产精品一级二级三级|