@Override  
    public void actionPerformed(ActionEvent e) {
      String u, p;
      if (e.getSource()==signbtn) {
	u = usertxt.getText();			     
	p = pwtxt.getText();
	if (u.equals("admin") && p.equals("123")) {
	  MainWindow  s = new MainWindow("หน้าหลัก");
	}
	else 
	  JOptionPane.showMessageDialog(null, "Login Fail; Try again !!!");
        usertxt.setText("");
	pwtxt.setText("");
      }
      if (e.getSource()==resetbtn)  {
        usertxt.setText("");
	pwtxt.setText("");
       }
    }