if (username == null || "".equals(username) || password == null || "".equals(password) || group == null || "".equals(group)) {
showEmptyInputWarning();
}
else {
try {
UserDTO userDTO = new UserDTO(username, password, group);
m_userUtil.addUser(userDTO);
m_userTable.addItem(new Object[] { userDTO }, userDTO);
m_userTable.sort(new Object[] { "User" }, new boolean[] { true });
m_userTable.select(username);
m_itemClickListener.itemClick(new ItemClickEvent((Component) event.getSource(), m_userTable.getItem(userDTO), null, null, null));