Skip to main content

ModelCenter APIs 2025 R2

getFrame

Last update: 16.07.2025

abstract fun getFrame(): JFrame

gets a Frame that should be used as the parent for all windows displayed by Java plug-ins. This Frame is not the actual ModelCenter window and should not be used for anything but specifying a parent window. If ModelCenter is running in server mode, this object will be null.

Return

a JFrame object

Connect with Ansys