### Borderpane Get Center Width Height

To get the width and the height of a BorderPane, make use of a JavaObject.
Reference: http://docs.oracle.com/javafx/2/api/javafx/scene/layout/BorderPane.html
Declare BorderPane
Private bpMain As Node
Get the Width and the Height
Dim joBP As JavaObject = bpMain
Dim joN As JavaObject = joBP.RunMethod("getCenter", Null)
Dim w As Double = -1
Log("W=" & joN.RunMethod("prefWidth", Array(w)))
Dim h As Double = -1
Log("H=" & joN.RunMethod("prefHeight", Array(h)))
Note:
Ensure to declare the parameter as a Double first, else a "not matched" error message occurs.

Changed: , Category: Panes, File: T6C230M1689.htm, ID: 1689