public static GuiThreatSelection getInstance(Component component) {
		Container parent = component.getParent();
		while (parent != null)
			if (parent instanceof GuiThreatSelection)
				return (GuiThreatSelection) parent;
			else
				parent = parent.getParent();
		return null;
	}