X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbackend%2FSwingBackend.java;h=c881b9a791021ee6e026b37620f6f0a83eca7212;hb=0ee88b6d705993df0d9e32cdc08c619605c7d75c;hp=3dbf01778d3785d166a52b3a9cfdd7cba48e4b7f;hpb=e16dda65585466c8987bd1efd718431450a96605;p=fanfix.git diff --git a/src/jexer/backend/SwingBackend.java b/src/jexer/backend/SwingBackend.java index 3dbf017..c881b9a 100644 --- a/src/jexer/backend/SwingBackend.java +++ b/src/jexer/backend/SwingBackend.java @@ -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); + } + }