diff options
author | Keith Packard <keithp@keithp.com> | 2013-02-11 10:31:24 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-02-11 10:31:24 -0800 |
commit | 2a9ca1dcd00da2cfdd0a2ea616308dfb64ee80d4 (patch) | |
tree | 7d664f286ab64f70441838528c22d0e098bfb7db /altosui/AltosGraphUI.java | |
parent | 5a4cd7b9b318ddea5d1dcc71918819f11256ca94 (diff) |
altosui: Stick file basename in graph window title
The title was empty before, this seems more useful than that.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphUI.java')
-rw-r--r-- | altosui/AltosGraphUI.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java index ac20f84b..2dded9a2 100644 --- a/altosui/AltosGraphUI.java +++ b/altosui/AltosGraphUI.java @@ -36,7 +36,8 @@ public class AltosGraphUI extends AltosUIFrame return any_gps; } - AltosGraphUI(AltosRecordIterable records, String file) throws InterruptedException, IOException { + AltosGraphUI(AltosRecordIterable records, File file) throws InterruptedException, IOException { + super(file.getName()); state = null; pane = new JTabbedPane(); |