public final void setExpanded (boolean value)

Sets the expanded state of the TitledPane. The default is true.

Parameters:
value    a flag indicating the expanded state