### Check Form is visible

To check if a Window (= Form) is visible, make use of the API methods from the Java Stage Class.
Reference: http://docs.oracle.com/javase/8/javafx/api/javafx/stage/Stage.html
Other API methods, like getTitle are also helpfull from that is class.
'Checks if a window is visible
`Sub IsVisible(f As Form) As Boolean
Dim jo As JavaObject = f
Return jo.GetFieldJO("stage").RunMethod("isShowing", Null)
End Sub`
Test
`Sub buttonTest_Action
'Check mainform
Log("MainForm:" & IsVisible(MainForm))
'Check dedicated on a own defined class MessageForm
Dim msgf As MessageForm
msgf.Initialize(MainForm, "Title", "Info")
Log("MessageForm:" & IsVisible(msgf.frm))
End Sub`

Changed: , Category: Forms, File: T6C195M1410.htm, ID: 1410