X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDesktopDemo.java;h=520f5b07f6780c465dc5299e56fa2ead00270233;hb=505be508ae7d3fb48122be548b310a238cfb91eb;hp=58d9893a15e2d06b755660fe41ec82e1c73eb61e;hpb=591688f594b8268b0e940d3144fd0dac0885a74c;p=nikiroo-utils.git diff --git a/src/jexer/demos/DesktopDemo.java b/src/jexer/demos/DesktopDemo.java index 58d9893..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,7 +28,6 @@ */ package jexer.demos; - import jexer.*; /** @@ -36,11 +35,32 @@ import jexer.*; */ 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. @@ -52,13 +72,4 @@ public class DesktopDemo extends TDesktop { } } - /** - * Public constructor. - * - * @param parent parent application - */ - public DesktopDemo(final TApplication parent) { - super(parent); - } - }