X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooGUI.java;fp=MooGUI.java;h=3ecb3081ec6f2aeb9e5c99fc943dca2ca42a00cf;hp=490026440350483e48b0f7bfd0aac2a4ab8afeba;hb=1d2d2bfd14ba0addab97692527d4414d3a87e13d;hpb=e7289eb46e09ee6ed3bc5bb4a814f59902d885cb diff --git a/MooGUI.java b/MooGUI.java index 4900264..3ecb308 100644 --- a/MooGUI.java +++ b/MooGUI.java @@ -3,6 +3,7 @@ import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; +import java.io.*; /** * Moosique's graphical user interface. @@ -27,8 +28,9 @@ public class MooGUI extends JFrame { * Creates the GUI. * @param seq The sequence that the program is operating on. */ - public MooGUI(Sequence seq) { + public MooGUI(Sequence seq, File file) { super("Moosique"); + if (file != null) setTitle("Moosique - " + file.getName()); this.seq = seq; advanceStatus();