forked from jasder/antlr
Add a default title to the TreeViewer dialog
This commit is contained in:
parent
2fe7804ee3
commit
a7d2838838
|
@ -299,6 +299,7 @@ public class TreeViewer extends JComponent {
|
||||||
@NotNull
|
@NotNull
|
||||||
protected static JDialog showInDialog(final TreeViewer viewer) {
|
protected static JDialog showInDialog(final TreeViewer viewer) {
|
||||||
final JDialog dialog = new JDialog();
|
final JDialog dialog = new JDialog();
|
||||||
|
dialog.setTitle("Parse Tree Inspector");
|
||||||
|
|
||||||
// Make new content panes
|
// Make new content panes
|
||||||
final Container mainPane = new JPanel(new BorderLayout(5,5));
|
final Container mainPane = new JPanel(new BorderLayout(5,5));
|
||||||
|
|
Loading…
Reference in New Issue