X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDesktopDemo.java;h=520f5b07f6780c465dc5299e56fa2ead00270233;hb=505be508ae7d3fb48122be548b310a238cfb91eb;hp=3cd713aa0eb3ce0b70f665c94ea824a0fc8c18c4;hpb=0ee88b6d705993df0d9e32cdc08c619605c7d75c;p=fanfix.git diff --git a/src/jexer/demos/DesktopDemo.java b/src/jexer/demos/DesktopDemo.java index 3cd713a..520f5b0 100644 --- a/src/jexer/demos/DesktopDemo.java +++ b/src/jexer/demos/DesktopDemo.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2017 Kevin Lamonte + * Copyright (C) 2019 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -28,23 +28,39 @@ */ package jexer.demos; -import java.io.*; -import java.util.*; - import jexer.*; -import jexer.event.*; -import jexer.menu.*; /** * The modified desktop. */ public class DesktopDemo extends TDesktop { + // ------------------------------------------------------------------------ + // Variables -------------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * If true, draw the hatch. Note package private access. */ boolean drawHatch = true; + // ------------------------------------------------------------------------ + // Constructors ----------------------------------------------------------- + // ------------------------------------------------------------------------ + + /** + * Public constructor. + * + * @param parent parent application + */ + public DesktopDemo(final TApplication parent) { + super(parent); + } + + // ------------------------------------------------------------------------ + // TDesktop --------------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * The default TDesktop draws a hatch character across everything. This * version is selectable. @@ -56,13 +72,4 @@ public class DesktopDemo extends TDesktop { } } - /** - * Public constructor. - * - * @param parent parent application - */ - public DesktopDemo(final TApplication parent) { - super(parent); - } - }