public static Future<JFrame> inspect(Tree t, List<String> ruleNames) {
		TreeViewer viewer = new TreeViewer(ruleNames, t);
		return viewer.open();
	}
Call this method to view a parse tree in a dialog box visually.
tool/src/org/antlr/v4/gui/Trees.java