public static void selectTab(JTabbedPane pane, String title) {
		int count = pane.getTabCount();
		for (int i = 0; i < count; i++) {
			if (pane.getTitleAt(i).equals(title)) {
				pane.setSelectedIndex(i);
				break;
			}
		}
	}