private void removeHost(Host host) {
		HostPanel hp = hostsMap.remove(host.getName());
		if (hp != null) {
			ClientConnectionManager.getInstance().removeClientChangedListener(
					hp);

			if ((hostList.size() > 1)
					&& (hostList.indexOf(hp) == (hostList.size() - 1))) {
				GridBagConstraints newLastConstraints = hostListLayout
						.getConstraints(hostList.get(hostList.size() - 2));
				newLastConstraints.weighty = 1;
				hostListLayout.setConstraints(
						hostList.get(hostList.size() - 2), newLastConstraints);
			}
			remove(hp);
			revalidate();
			repaint();
		}
	}