### Open and close TitledPane animated

To open or close a TitledPane animated, use a JavaObject.
More to find here:
http://docs.oracle.com/javafx/2/api/javafx/scene/control/TitledPane.html
Example
' Set titledPane open and close to animated
' Parameter Titledpane: The pane to give the focus to and expand to show the content
' Parameter Animated
`Sub setTitledPaneAnimated(TitledPane As Node, bAnimated As Boolean)
Dim jo As JavaObject = TitledPane
jo.RunMethod("setAnimated", Array As Object(bAnimated))
End Sub`
Usage:
Private TitledPane1 As Node
Private TitledPane2 As Node
' Set both titledpanes to animated
setTitledPaneAnimated(titledpane1, True)
setTitledPaneAnimated(titledpane2, True)

Changed: , Category: TitledPane, File: T6C269M2003.htm, ID: 2003