|
|
@@ -22,7 +22,7 @@ public class LoginFarme extends JFrame {
|
|
|
static JButton scanLoginButton = new JButton("扫 码 登 录");
|
|
|
|
|
|
public LoginFarme(){
|
|
|
- setTitle("MES系统客户端:"+MesClient.mes_gw+" - "+MesClient.mes_gw_des);
|
|
|
+ setTitle("MES系统客户端115:"+MesClient.mes_gw+" - "+MesClient.mes_gw_des);
|
|
|
|
|
|
ImageIcon bg = new ImageIcon(MesClient.class.getResource("/background.png"));
|
|
|
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
@@ -45,11 +45,11 @@ public class LoginFarme extends JFrame {
|
|
|
userPasswordLabel.setBounds(300, 150, 120, 40);
|
|
|
userPasswordLabel.setFont(new java.awt.Font("Dialog", 1, 16));
|
|
|
userNameTxt = new JTextField(20);
|
|
|
- userNameTxt.setText("system");
|
|
|
+ userNameTxt.setText("");
|
|
|
userNameTxt.setBounds(400, 105, 150, 30);
|
|
|
userPasswordTxt = new JPasswordField(20);
|
|
|
userPasswordTxt.setBounds(400, 155, 150, 30);
|
|
|
- userPasswordTxt.setText("Aa111111");
|
|
|
+ userPasswordTxt.setText("");
|
|
|
loginButton.setFont(new java.awt.Font("Dialog", 1, 16));
|
|
|
loginButton.setBounds(300, 200, 255, 40);
|
|
|
loginButton.setIcon(new ImageIcon(MesClient.class.getResource("/bg/user.png")));
|