lisBoardsAvailable.removeAll(); lisBoardsAvailable.add(Messages.getString("BoardSelectionDialog.Updating"));
((DefaultListModel) lisBoardsAvailable.getModel()).removeAllElements(); ((DefaultListModel) lisBoardsAvailable.getModel()).addElement(Messages.getString("BoardSelectionDialog.Updating"));
    public void updateMapSettings(MapSettings mapSettings) {        this.mapSettings = mapSettings;        refreshMapSize();        refreshMapButtons();        lisBoardsSelected.removeAll();        lisBoardsSelected.add(Messages.getString("BoardSelectionDialog.Updating")); //$NON-NLS-1$        lisBoardsAvailable.removeAll();        lisBoardsAvailable.add(Messages.getString("BoardSelectionDialog.Updating")); //$NON-NLS-1$        client.getClient().sendMapQuery(mapSettings);    }