mapPreviewW.setVisible(false);
    private void send() {        // check that they haven't modified the map size settings        if (!texBoardWidth.getText().equals(Integer.toString(mapSettings.getBoardWidth()))                || !texBoardHeight.getText().equals(Integer.toString(mapSettings.getBoardHeight()))                || !texMapWidth.getText().equals(Integer.toString(mapSettings.getMapWidth()))                || !texMapHeight.getText().equals(Integer.toString(mapSettings.getMapHeight()))) {            JOptionPane.showMessageDialog(client.frame, Messages.getString("BoardSelectionDialog.UpdateMapSize.message"), Messages.getString("BoardSelectionDialog.UpdateMapSize.title"), JOptionPane.ERROR_MESSAGE);            return;        }        if (mapSettings.getBoardsAvailableVector().size() <= 0) {            JOptionPane.showMessageDialog(client.frame, Messages.getString("BoardSelectionDialog.NoBoardOfSelectedSize.message"), Messages.getString("BoardSelectionDialog.NoBoardOfSelectedSize.title"), JOptionPane.ERROR_MESSAGE);            return;        }        client.getClient().sendMapSettings(mapSettings);        setVisible(false);    }