showFrame

fun showFrame(title: String, content: JPanel, size: Dimension? = null)

Shows a frame in the center of the screen with the provided title and content.