From a7d28388388fcd5b54c99da6c49c4c6b803efb28 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 1 May 2013 22:38:36 -0500 Subject: [PATCH] Add a default title to the TreeViewer dialog --- runtime/Java/src/org/antlr/v4/runtime/tree/gui/TreeViewer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/Java/src/org/antlr/v4/runtime/tree/gui/TreeViewer.java b/runtime/Java/src/org/antlr/v4/runtime/tree/gui/TreeViewer.java index 40221b846..3b8504824 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/tree/gui/TreeViewer.java +++ b/runtime/Java/src/org/antlr/v4/runtime/tree/gui/TreeViewer.java @@ -299,6 +299,7 @@ public class TreeViewer extends JComponent { @NotNull protected static JDialog showInDialog(final TreeViewer viewer) { final JDialog dialog = new JDialog(); + dialog.setTitle("Parse Tree Inspector"); // Make new content panes final Container mainPane = new JPanel(new BorderLayout(5,5));