public void ShowUInfo(User u)
    {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
        lblUHint.setVisible(false);
        tbxUPwd.setText("");
        if (u.UserID.equals(""))
        {
            tbxUUserID.setText("");
            tbxUFirstName.setText("");
            tbxULastName.setText("");
            tbxUBirthDate.setText("");
            lblUEnrollDate.setText(sdf.format(new Date()));
            tbxUAddress1.setText("");
            tbxUAddress2.setText("");
            tbxUZipcode.setText("");
            tbxUPhone.setText("");
            cbxUUserType.setSelectedIndex(0);
            
            btnUUpdate.setEnabled(false);
            btnUDelete.setEnabled(false);
            btnReset.setEnabled(false);
            tbxUUserID.setEditable(true);
            btnUAdd.setEnabled(true);
            return;
        }
        tbxUUserID.setText(u.UserID);
        tbxUFirstName.setText(u.FirstName);
        tbxULastName.setText(u.LastName);
        tbxUBirthDate.setText(sdf.format(u.BirthDate));
        lblUEnrollDate.setText(sdf.format(u.EnrollDate));
        
        String[] Addr = u.Address.split(";");
        
        if (Addr.length >=2)
        {
            tbxUAddress1.setText(Addr[0]);
            tbxUAddress2.setText(Addr[1]);
        }
        else
        {
            tbxUAddress1.setText(Addr[0]);
            tbxUAddress2.setText("");
        }
        tbxUZipcode.setText(u.Zipcode);
        tbxUPhone.setText(u.PhoneNumber);
        
        switch(u.UserType)
        {
            case LABTECH:
                cbxUUserType.setSelectedIndex(0);
                break;
            case DOCTOR:
                cbxUUserType.setSelectedIndex(1);
                break;
            case ADMIN:
                cbxUUserType.setSelectedIndex(2);
                break;
            default:
                cbxUUserType.setSelectedIndex(0);
                break;
        }
        
        btnUUpdate.setEnabled(true);
        btnUDelete.setEnabled(true);
        btnReset.setEnabled(true);
        btnUAdd.setEnabled(false);
        tbxUUserID.setEditable(false);
    }