Refactor a bit

This commit is contained in:
nelle 2024-02-16 03:20:36 -07:00
parent f2f478fec0
commit 697a71f2d2
2 changed files with 3 additions and 3 deletions

View file

@ -1,13 +1,13 @@
package org.bm00.DataAccessor
import jexer.TApplication
import org.bm00.DataAccessor.windows.ProgramWindow
import org.bm00.DataAccessor.windows.WelcomeWindow
import java.util.*
// This creates a Jexer application (and calls the "backend type" which is how its rendered)
class Application : TApplication(BackendType.SWING) {
init {
ProgramWindow(this)
WelcomeWindow(this)
}
}

View file

@ -5,7 +5,7 @@ import jexer.TApplication
import jexer.TWindow
import jexer.layout.StretchLayoutManager
class ProgramWindow private constructor(parent: TApplication, flags: Int) :
class WelcomeWindow private constructor(parent: TApplication, flags: Int) :
TWindow(parent, "O.S.D.A.", 0, 0, 46, 10, flags) {
constructor(parent: TApplication) : this(parent, CENTERED)
init {