Example #1
0
 public boolean searchFieldEmpty() {
   return searchField.getText().length() == 0;
 }
  private void onLoginButtonClicked() {

    ((LoginController) controller).login(usernameField.getText(), passwordField.getText());
    setCacelButton();
  }
Example #3
0
 public String getKeyword() {
   return searchField.getText().trim();
 }