Swing GUI
constructor(environment: Environment<T, P>, graphicsFile: File?, failOnHeadless: Boolean = false, closeOperation: Int = JFrame.EXIT_ON_CLOSE)
Builds a single-use graphical interface.
Parameters
environment
the simulation for this GUI
graphics File
the effects file
close Operation
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)
Builds a single-use graphical interface.
Parameters
environment
the simulation for this GUI
graphics
the effects file
close Operation
the type of close operation for this GUI