private void setPlayerNameButtonText() { final FLabel btn = view.getBtnPlayerName(); final String name = prefs.getPref(FPref.PLAYER_NAME); btn.setText(StringUtils.isBlank(name) ? "Human" : name); }
private void initializePlayerNameButton() { final FLabel btn = view.getBtnPlayerName(); setPlayerNameButtonText(); btn.setCommand(getPlayerNameButtonCommand()); }