Overview | Methods | This Package | All Packages
Inserts a panel into the status bar at the specified location.
Syntax
public int insertPanel( int index, StatusBarPanel panel )
Parameters
index
The zero-based index at which to insert the panel.
panel
A StatusBarPanel object that you want to add to the status bar.
Return Value
Returns an integer that represents the zero-based index of the added panel.
Exceptions
WFCException thrown if the panel you want to add is already contained in another control.
ArrayIndexOutOfBoundsException thrown if the specified index is not valid.
Remarks
To add a panel to the end of the status bar, you can also use the addPanel method. To replace an existing panel, use the setPanel method.