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

資源簡介

完成一個相對完整的小型管理系統,涉及到的核心知識包括數據庫訪問(JDBC、事務)、配置文件、對象序列化與反序列化、多線程、計時器、網絡編程、Swing界面與事件驅動模型、正則表達式和格式化顯示等。

資源截圖

代碼片段和文件信息

package?com.four;

import?javax.swing.Jframe;
import?javax.swing.JLabel;
import?javax.swing.JOptionPane;
import?javax.swing.JTextField;
import?java.awt.Font;
import?java.awt.Color;
import?javax.swing.JButton;
import?javax.swing.SwingConstants;
import?com.four.Config.jdbcConfig;
import?com.four.Entity.User;
import?java.awt.event.ActionListener;
import?java.awt.event.ActionEvent;
import?java.awt.event.MouseAdapter;
import?java.awt.event.MouseEvent;
import?java.io.objectInputStream;
import?java.io.objectOutputStream;
import?java.net.Socket;

public?class?mainUI?{

private?Jframe?frmLogin;
private?JTextField?textname;
private?JTextField?textpsd;
private?String?serverIP;

public?static?void?main(String[]?args)?{
new?mainUI();
}

public?mainUI()?{
initialize();
serverIP?=?jdbcConfig.getValue(“serverIP“);
}
private?void?initialize()?{
frmLogin?=?new?Jframe();
frmLogin.settitle(“Login“);
frmLogin.setForeground(Color.LIGHT_GRAY);
frmLogin.setBounds(100?100?380?329);
frmLogin.setDefaultCloseOperation(Jframe.EXIT_ON_CLOSE);
frmLogin.getContentPane().setLayout(null);

JLabel?lblNewLabel?=?new?JLabel(“\u7528\u6237\u540D\uFF1A?“);
lblNewLabel.setFont(new?Font(“幼圓“?Font.PLAIN?14));
lblNewLabel.setForeground(Color.DARK_GRAY);
lblNewLabel.setBounds(37?103?66?15);
frmLogin.getContentPane().add(lblNewLabel);

JLabel?lblNewLabel_1?=?new?JLabel(“\u5BC6\u7801\uFF1A“);
lblNewLabel_1.setFont(new?Font(“幼圓“?Font.PLAIN?14));
lblNewLabel_1.setBounds(55?149?53?31);
frmLogin.getContentPane().add(lblNewLabel_1);

JLabel?lblNewLabel_2?=?new?JLabel(“Water?is?life“);
lblNewLabel_2.setVerticalAlignment(SwingConstants.BOTTOM);
lblNewLabel_2.setFont(new?Font(“幼圓“?Font.PLAIN?24));
lblNewLabel_2.setBounds(72?22?171?37);
frmLogin.getContentPane().add(lblNewLabel_2);

JLabel?lblNewLabel_3?=?new?JLabel(““);
lblNewLabel_3.setForeground(Color.RED);
lblNewLabel_3.setBounds(112?190?161?22);
frmLogin.getContentPane().add(lblNewLabel_3);

textname?=?new?JTextField();
textname.addMouseListener(new?MouseAdapter()?{
public?void?mouseClicked(MouseEvent?e)?{
lblNewLabel_3.setText(““);
}
});
textname.setBounds(112?95?171?31);
frmLogin.getContentPane().add(textname);
textname.setColumns(10);

textpsd?=?new?JTextField();
textpsd.addMouseListener(new?MouseAdapter()?{
public?void?mouseClicked(MouseEvent?e)?{
lblNewLabel_3.setText(““);
}
});
textpsd.setBounds(112?149?171?31);
frmLogin.getContentPane().add(textpsd);
textpsd.setColumns(10);

JButton?textlogin?=?new?JButton(“登陸“);
textlogin.addActionListener(new?SendDataListener());
textlogin.setFont(new?Font(“幼圓“?Font.PLAIN?14));
textlogin.setBounds(37?222?115?31);
frmLogin.getContentPane().add(textlogin);
JButton?textregister?=?new?JButton(“注冊“);
textregister.addActionListener(new?ActionListener()?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-07-22?12:17??WB\
?????文件????????3804??2019-06-27?16:02??WB\.classpath
?????文件?????????378??2019-06-20?13:49??WB\.project
?????目錄???????????0??2019-07-22?12:10??WB\.settings\
?????文件?????????265??2019-06-28?10:38??WB\.settings\org.eclipse.core.resources.prefs
?????文件?????????598??2019-06-20?13:49??WB\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2019-07-22?12:10??WB\bin\
?????目錄???????????0??2019-07-22?12:10??WB\bin\com\
?????目錄???????????0??2019-07-22?12:10??WB\bin\com\four\
?????目錄???????????0??2019-07-22?12:10??WB\bin\com\four\Config\
?????文件?????????991??2019-06-27?16:02??WB\bin\com\four\Config\jdbcConfig.class
?????目錄???????????0??2019-07-22?12:10??WB\bin\com\four\Entity\
?????文件????????3072??2019-06-27?16:02??WB\bin\com\four\Entity\Goods.class
?????文件????????4562??2019-06-28?14:58??WB\bin\com\four\Entity\Order.class
?????文件????????3009??2019-06-27?16:02??WB\bin\com\four\Entity\OrderDetail.class
?????文件????????3555??2019-06-27?16:02??WB\bin\com\four\Entity\User.class
?????文件?????????771??2019-07-22?12:07??WB\bin\com\four\mainUI$1.class
?????文件?????????771??2019-07-22?12:07??WB\bin\com\four\mainUI$2.class
?????文件?????????667??2019-07-22?12:07??WB\bin\com\four\mainUI$3.class
?????文件????????2781??2019-07-22?12:07??WB\bin\com\four\mainUI$SendDataListener.class
?????文件????????3462??2019-07-22?12:07??WB\bin\com\four\mainUI.class
?????目錄???????????0??2019-07-22?12:10??WB\bin\com\four\net\
?????文件????????2277??2019-06-28?15:24??WB\bin\com\four\net\DmsNetServer$AcceptLoginThread.class
?????文件????????2530??2019-06-28?15:25??WB\bin\com\four\net\DmsNetServer$AcceptOrderSubmitThread.class
?????文件????????2289??2019-06-28?15:24??WB\bin\com\four\net\DmsNetServer$AcceptRegisterThread.class
?????文件????????1016??2019-06-28?15:24??WB\bin\com\four\net\DmsNetServer.class
?????文件????????1600??2019-06-28?16:14??WB\bin\com\four\net\orderManager$1.class
?????文件????????1058??2019-06-28?16:14??WB\bin\com\four\net\orderManager$UpdateTableThread.class
?????文件????????4317??2019-06-28?16:14??WB\bin\com\four\net\orderManager.class
?????文件?????????730??2019-07-01?22:23??WB\bin\com\four\net\test123$1.class
?????文件?????????857??2019-07-01?22:23??WB\bin\com\four\net\test123$2.class
............此處省略49個文件信息

評論

共有 條評論