From ae4949d07c4f0d58e68c52bea6c2331cbb132807 Mon Sep 17 00:00:00 2001 From: 4pr0n Date: Sun, 20 Jul 2014 00:59:22 -0700 Subject: [PATCH] Change application title while ripping Closes #90 --- src/main/java/com/rarchives/ripme/ui/MainWindow.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/rarchives/ripme/ui/MainWindow.java b/src/main/java/com/rarchives/ripme/ui/MainWindow.java index ed0d3f2c..bd6c7d69 100644 --- a/src/main/java/com/rarchives/ripme/ui/MainWindow.java +++ b/src/main/java/com/rarchives/ripme/ui/MainWindow.java @@ -766,6 +766,7 @@ public class MainWindow implements Runnable, RipStatusHandler { } if (!failed) { try { + mainFrame.setTitle("Ripping - RipMe v" + UpdateUtils.getThisJarVersion()); synchronized (this) { ripTextfield.setText(ripper.getURL().toExternalForm()); } @@ -869,6 +870,7 @@ public class MainWindow implements Runnable, RipStatusHandler { File f = (File) msg.getObject(); String prettyFile = Utils.shortenPath(f); openButton.setText("Open " + prettyFile); + mainFrame.setTitle("RipMe v" + UpdateUtils.getThisJarVersion()); try { Image folderIcon = ImageIO.read(getClass().getClassLoader().getResource("folder.png")); openButton.setIcon(new ImageIcon(folderIcon));