()
| 70 | } |
| 71 | |
| 72 | public final void loadAccounts() { |
| 73 | Account a; |
| 74 | int index = 0; |
| 75 | itemsList.removeAllElements(); |
| 76 | activeAccount = cf.accountIndex; |
| 77 | do { |
| 78 | a = AccountStorage.createFromStorage(index); |
| 79 | if (a != null) { |
| 80 | a.setActive(activeAccount == index); |
| 81 | itemsList.addElement(new AccountItem(a)); |
| 82 | index++; |
| 83 | } |
| 84 | } while (a != null); |
| 85 | if (!itemsList.isEmpty()) { |
| 86 | moveCursorTo(activeAccount); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | public final void commandState() { |
| 91 | menuCommands.removeAllElements(); |
no test coverage detected