// #ifdef VER_4.5.0
  public void paint(Graphics g) {

    int oldColor = g.getColor();
    g.setColor(0x00000000);
    g.drawRect(0, 0, getWidth() + 1, getHeight() + 1);
    g.setColor(oldColor);
    super.paint(g);
  }
 private void layoutScreen() {
   addLogo();
   add(new SeparatorField());
   usernameField.setPadding(PADDING);
   usernameField.setText(store.getLastUsedLoginUsername());
   add(usernameField);
   passwordField.setPadding(PADDING);
   add(passwordField);
   add(new SeparatorField());
   addButtons();
   createProgressMsg();
 }
 public LoginScreen(SettingsStore store) {
   super();
   this.store = store;
   layoutScreen();
   passwordField.setFocus();
 }
  private void onLoginButtonClicked() {

    ((LoginController) controller).login(usernameField.getText(), passwordField.getText());
    setCacelButton();
  }