91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 58KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-25
  • 語言: Java
  • 標簽: java??

資源簡介

可以用作java課程設計使用,原創,使用mysql數據庫

資源截圖

代碼片段和文件信息

package?cn.edu.ujn.tangyangyang;

import?java.awt.Dimension;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?javax.swing.JButton;
import?javax.swing.JDialog;
import?javax.swing.JLabel;
import?javax.swing.JOptionPane;
import?javax.swing.JTextField;

public?class?BrandEdit?extends?JDialog{
private?final?JButton?button?=?new?JButton();
private?final?JLabel?label?=?new?JLabel();
private?final?JTextField?textField?=?new?JTextField();

private?BrandManager?_pare;
private?String?_id;
private?String?_brandname;
public?BrandEdit(BrandManager?pareString?idString?brandname)?{
super();
this._pare?=?pare;
this._id?=?id;
this._brandname?=?brandname;
try?{
jbInit();
}?catch?(Throwable?e)?{
e.printStackTrace();
}
dataInit();
}
private?void?dataInit(){
this.textField.setText(this._brandname);
}
private?void?jbInit()?throws?Exception?{
getContentPane().setLayout(null);
setSize(new?Dimension(300?150));
setLocationByPlatform(true);
setModal(true);
setResizable(false);
settitle(“修改品牌“);

getContentPane().add(button);
button.addActionListener(new?ButtonActionListener());
button.setText(“確定“);
button.setBounds(186?63?66?28);

getContentPane().add(label);
label.setText(“品牌“);
label.setBounds(31?37?66?18);

getContentPane().add(textField);
textField.setBounds(77?35?175?22);
}
private?class?ButtonActionListener?implements?ActionListener?{
public?void?actionPerformed(ActionEvent?arg0)?{
button_actionPerformed(arg0);
}
}
protected?void?button_actionPerformed(ActionEvent?arg0)?{
String?brand_name?=?this.textField.getText().trim();
if(brand_name.length()?>?1){
if(this._pare.modifyBrand(brand_namethis._id)){
this.dispose();
}
}else{
JOptionPane.showMessageDialog(this?“長度錯誤“);
return?;
}
}

}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????409??2012-02-28?09:27??NoteBookBuyManager\.classpath

?????文件????????394??2012-02-28?09:26??NoteBookBuyManager\.project

?????文件????????339??2012-02-28?15:26??NoteBookBuyManager\.settings\org.eclipse.core.resources.prefs

?????文件?????????81??2012-02-28?15:26??NoteBookBuyManager\.settings\org.eclipse.core.runtime.prefs

?????文件????????629??2012-02-28?09:27??NoteBookBuyManager\.settings\org.eclipse.jdt.core.prefs

?????文件????????946??2012-02-28?17:19??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\BrandEdit$ButtonActionListener.class

?????文件???????2967??2012-02-28?17:19??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\BrandEdit.class

?????文件????????970??2012-02-28?17:22??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\BrandManager$ButtonActionListener.class

?????文件????????980??2012-02-28?17:22??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\BrandManager$Button_2ActionListener.class

?????文件????????980??2012-02-28?17:22??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\BrandManager$Button_3ActionListener.class

?????文件???????7406??2012-02-28?17:22??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\BrandManager.class

?????文件???????1094??2012-02-28?16:14??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\Common.class

?????文件???????3179??2012-02-28?16:14??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\databaseConnect.class

?????文件???????1016??2012-02-28?20:01??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\DatabaseOptions$Button_editActionListener.class

?????文件???????5467??2012-02-28?20:01??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\DatabaseOptions.class

?????文件???????1029??2012-02-28?16:15??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\NewProductInput$ButtonActionListener.class

?????文件???????6265??2012-02-28?16:15??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\NewProductInput.class

?????文件????????997??2012-02-28?22:31??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\ProductEdit$ButtonActionListener.class

?????文件???????6760??2012-02-28?22:31??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\ProductEdit.class

?????文件????????961??2012-02-28?22:27??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\SellGoods$Button_okActionListener.class

?????文件???????6207??2012-02-28?22:27??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\SellGoods.class

?????文件???????5039??2012-02-28?22:28??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\SellGoodsManager.class

?????文件????????982??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$Button_delActionListener.class

?????文件????????987??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$Button_editActionListener.class

?????文件????????997??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$Button_searchActionListener.class

?????文件????????987??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$Button_sellActionListener.class

?????文件???????1007??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$NewItemMenuItemActionListener.class

?????文件???????1037??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$NewItemMenuItem_aboutActionListener.class

?????文件???????1062??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$NewItemMenuItem_addProductActionListener.class

?????文件???????1082??2012-02-28?22:30??NoteBookBuyManager\bin\cn\edu\ujn\tangyangyang\UilayerMain$NewItemMenuItem_bought_recoderActionListener.class

............此處省略29個文件信息

評論

共有 條評論