public void commandAction(Command c, Displayable d) { if (c == cmdQuit) { destroyView(); Bombus.getInstance().notifyDestroyed(); } if (c == cmdCancel) { destroyView(); // Account.launchAccount(); // StaticData.getInstance().account_index=0; } if (c == cmdLogin) switchAccount(true); if (c == cmdSelect) switchAccount(false); if (c == cmdEdit) new AccountForm(this, display, (Account) getFocusedObject()); if (c == cmdAdd) { new AccountForm(this, display, null); } if (c == cmdDel) { accountList.removeElement(getFocusedObject()); rmsUpdate(); moveCursorHome(); commandState(); redraw(); } }