public static Future<JFrame> inspect(Tree t, Parser parser) {
		List<String> ruleNames = parser != null ? Arrays.asList(parser.getRuleNames()) : null;
		return inspect(t, ruleNames);
	}
Call this method to view a parse tree in a dialog box visually.
tool/src/org/antlr/v4/gui/Trees.java