Inserts a panel into the status bar at the specified location.
public int insertPanel( int index, StatusBarPanel panel )
index
The zero-based index at which to insert the panel.
panel
A StatusBarPanel object that you want to add to the status bar.
Returns an integer that represents the zero-based index of the added panel.
WFCException thrown if the panel you want to add is already contained in another control.
ArrayIndexOutOfBoundsException thrown if the specified index is not valid.
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.