快速业务通道

java壓方象垂峨秘bean - 園殻秘壇利

作者 佚名技术 来源 NET编程 浏览 发布时间 2012-06-17

java壓方象垂峨秘bean

扮寂:2011-04-03

幹秀方象垂燕:

create table test.Student(     ID VARCHAR(10),     Name VARCHAR(20),     Bedroom VARCHAR(20),     Zhuanye VARCHAR(40),     Sex VARCHAR(1)   ) /* bean 旗鷹 */ package student; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; public class stuBean extends JPanel {   private static final long serialVersionUID = 9166303709249041951L;   private JComboBox combBed;   private JComboBox combDanyuan;   private JComboBox combFool;   private JTextField textName;   private JTextField textID;   private JComboBox combSex;   private JComboBox combSpecial;   private String bedroom;   private String special;   private String sex;   private String userName="root";   private String password="";   private String url;   private String strDriver;   private Connection conn;   private java.sql.PreparedStatement stat;   /**    * Create the panel    */   public stuBean() {     super();     setLayout(null);     final JLa bel label = new JLabel();     label.setText("僥催");     label.setBounds(37, 29, 66, 18);     add(label);     textID = new JTextField();     textID.setBounds(109, 27, 119, 22);     add(textID);     final JLabel label_1 = new JLabel();     label_1.setText("侖兆");     label_1.setBounds(37, 79, 66, 18);     add(label_1);     textName = new JTextField();     textName.setBounds(109, 77, 119, 22);     add(textName);     final JLabel label_2 = new JLabel();     label_2.setText("凡普");     label_2.setBounds(37, 129, 66, 18);     add(label_2);     combFool = new JComboBox();     combFool.setBounds(109, 125, 43, 27);     combFool.addItem(new String("1"));     combFool.addItem(new String("2"));     combFool.addItem(new String("3"));     combFool.addItem(new String("4"));     combFool.addItem(new String("5"));     combFool.addItem(new String("6"));     combFool.addItem(new String("7"));     combFool.addItem(new String("8"));     combFool.addItem(new style="COLOR: #ff0000">String("9"));     combFool.addItem(new String("10"));     add(combFool);     final JLabel label_3 = new JLabel();     label_3.setText("促");     label_3.setBounds(158, 129, 26, 18);     add(label_3);     combDanyuan = new JComboBox();     combDanyuan.setBounds(200, 125, 43, 27);     combDanyuan.addItem(new String("1"));     combDanyuan.addItem(new Strin

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号