SwingGUI
constructor(environment: Environment<T, P>, graphicsFile: File?, failOnHeadless: Boolean = false, closeOperation: Int = JFrame.EXIT_ON_CLOSE)(source)
Builds a single-use graphical interface.
Parameters
environment
the simulation for this GUI
graphicsFile
the effects file
closeOperation
the type of close operation for this GUI
constructor(environment: Environment<T, P>, graphics: String? = null, failOnHeadless: Boolean = false, closeOperation: Int = JFrame.EXIT_ON_CLOSE)(source)
Builds a single-use graphical interface.
Parameters
environment
the simulation for this GUI
graphics
the effects file
closeOperation
the type of close operation for this GUI