(Vector items)
| 87 | } |
| 88 | |
| 89 | public final void loadItemsFrom(Vector items) { |
| 90 | synchronized (itemsList) { |
| 91 | if (items == null) { |
| 92 | return; |
| 93 | } |
| 94 | int count = items.size(); |
| 95 | itemsList.removeAllElements(); |
| 96 | for (int i = 0; i < count; i++) { |
| 97 | itemsList.addElement(items.elementAt(i)); |
| 98 | } |
| 99 | redraw(); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | public void cmdOk() { |
| 104 | destroyView(); |
no test coverage detected