Refactor a bit
This commit is contained in:
parent
f2f478fec0
commit
697a71f2d2
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
Loading…
Reference in a new issue