public void showNotify() {
    super.showNotify();

    // #if !polish.blackberry
    // #if not using.native.textfield:defined
    TextUtilities.loadTextFieldCharacterset(
        "la"); // Defaulting to latin characters as we only allow latin characters in input fields
    // #endif
    // #endif
  }
 /**
  * Handles key events.
  *
  * <p>WARNING: When this method should be overwritten, one need to ensure that super.keyPressed(
  * int ) is called!
  *
  * @param keyCode The code of the pressed key
  * @see de.enough.polish.ui.Screen#keyPressed(int)
  */
 public void keyPressed(int keyCode) {
   if (Keypad.key(keyCode) == Keypad.KEY_ESCAPE) commandAction(cmdBack, this);
   else super.keyPressed(keyCode);
 }
 public void commandAction(Command c, Displayable d) {
   if (c == cmdLogin) {
     getController().notifyEvent(Event.Context.WEB_ACCOUNTS, Event.WebAccounts.SAVE, null);
   } else super.commandAction(c, d);
 }