java壓方象垂峨秘bean - 園殻秘壇利
作者 佚名技术
来源 NET编程
浏览
发布时间 2012-06-17
g("2")); combDanyuan.addItem(new String("3")); add(combDanyuan); final JLabel label_4 = new JLabel(); label_4.setText("汽圷"); label_4.setBounds(253, 129, 31, 18); add(label_4); combBed = new JComboBox(); combBed.setBounds(290, 125, 43, 27); combBed.addItem(new String("1")); combBed.addItem(new String("2")); combBed.addItem(new String("3")); combBed.addItem(new String("4")); combBed.addItem(new String("5")); combBed.addItem(new String("6")); combBed.addItem(new String("7")); combBed.addItem(new String("8")); add(co mbBed); final JLabel label_5 = new JLabel(); label_5.setText("寛"); label_5.setBounds(339, 129, 53, 18); add(label_5); final JLabel label_6 = new JLabel(); label_6.setText("廨匍"); label_6.setBounds(37, 184, 66, 18); add(label_6); combSpecial = new JComboBox(); combSpecial.setBounds(109, 180, 147, 27); combSpecial.addItem(new String("linux 罷周蝕窟圭?")); combSpecial.addItem(new String("java 罷周蝕窟圭?")); combSpecial.addItem(new String("廼秘罷周蝕窟圭?")); combSpecial.addItem(new String("斤晩罷周蝕窟圭?")); combSpecial.addItem(new String(".net 罷周蝕窟圭?")); add(combSpecial); combSex = new JComboBox(); combSex.setBounds(109, 232, 53, 27); combSex.addItem(new String("槻")); combSex.addItem(new String("溺")); add(combSex); final JLabel label_7 = new JLabel(); label_7.setText("來艶"); label_7.setBounds(37, 236, 66, 18); add(label_7); final JButton button = new JButton(); button.addActionListener(new ActionListener() { public void actionPerformed(final ActionEvent e0000cc">) { bedroom = combFool.getSelectedItem().toString() + combDanyuan.getSelectedItem().toString() + combBed.getSelectedItem().toString(); special = combSpecial.getSelectedItem().toString(); if (combSex.getSelectedIndex() == 0) { sex = "m"; } else { sex = "f"; } dbConnection(); dbUpdate(); dbClose(); } }); button.setText("戻住"); button.setBounds(121, 303, 100, 28); add(button); // } public void dbConnection() { try { Class.forName(strDriver); conn = DriverManager.getConnection(url, userName, password); } catch (Exception e) { e.printStackTrace(); |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于java壓方象垂峨秘bean - 園殻秘壇利的所有评论