public void tabChanged(JButton pauseButton, JButton stopButton) {
		if (view.getTabCount() < 1) {
			pauseButton.setEnabled(false);
			stopButton.setEnabled(false);
			updater.stop();
			updaterThread = null;
			view.setStaus(" ");
			view.setInfo("\n");
			return;
		}

		pauseButton.setEnabled(true);
		stopButton.setEnabled(true);
		int hash = view.getSelectedTab().hashCode();
		Plugin p = tabToPlugin.get(hash);

		if (updaterThread == null) {
			updater.setPlugin(p);
			updaterThread = new Thread(updater);
			updaterThread.start();
		}
		updater.setPlugin(p);

		PluginState state = p.getState();
		if (state == PluginState.RUNNING) {
			pauseButton.setText("Pause");
		} else if (state == PluginState.PAUSED) {
			pauseButton.setText("Resume");
		}
		view.setInfo(p.getId() + " is currently\n" + p.getState() + "!");
	}