#14 stubs for TDesktop
[fanfix.git] / src / jexer / backend / SwingBackend.java
index 3dbf01778d3785d166a52b3a9cfdd7cba48e4b7f..c881b9a791021ee6e026b37620f6f0a83eca7212 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2017 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -91,4 +91,14 @@ public final class SwingBackend extends Backend {
         ((SwingScreen) screen).shutdown();
     }
 
+    /**
+     * Set the window title.
+     *
+     * @param title the new title
+     */
+    @Override
+    public void setTitle(final String title) {
+        ((SwingScreen) screen).setTitle(title);
+    }
+
 }