287288289290291292293294295296297
* Print username returned by server, as server can * modify it at will to match account names rules. */ progressBar.step(); progressBar.finish(); client.setAccountUsername(accountUsername); client.setCharacter(accountUsername); /*
297298299300301302303304305306307
/* * Once the account is created, login into server. */ client.login(accountUsername, password); progressBar.step(); progressBar.finish(); setEnabled(false); if (owner != null) { owner.setVisible(false); owner.dispose();