X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTWindow.java;h=e15092e5c07c29894be0cfa08e182914765689c4;hb=2b9c27db318b916730aa04f2b41bd3bff795a5dc;hp=d57b844d7d4408c4c14c70e4076914782bc90f4a;hpb=30d336cc33e26af877f7950b93f3b77d9c3a3bd3;p=fanfix.git diff --git a/src/jexer/TWindow.java b/src/jexer/TWindow.java index d57b844..e15092e 100644 --- a/src/jexer/TWindow.java +++ b/src/jexer/TWindow.java @@ -46,7 +46,7 @@ import static jexer.TKeypress.*; /** * TWindow is the top-level container and drawing surface for other widgets. */ -public class TWindow extends TWidget implements Comparable { +public class TWindow extends TWidget { /** * Window's parent TApplication. @@ -305,17 +305,6 @@ public class TWindow extends TWidget implements Comparable { return true; } - /** - * Comparison operator sorts on z. - * - * @param that another TWindow instance - * @return difference between this.z and that.z - */ - @Override - public final int compareTo(final TWindow that) { - return (this.z - that.z); - } - /** * Returns true if the mouse is currently on the close button. *