@Action public void login() { BuggyMasterCodeApp.getLogger().info("connecting to database"); if (Db.db.connect( this.txServer.getText(), this.txUser.getText(), new String(this.txPwd.getPassword()))) { m_ok = true; this.setVisible(false); } else { G.showInfo("Connection to database " + this.txServer.getText() + " couldn't be established"); } }