StatusBar.setPanel

Overview | Methods | This Package | All Packages

StatusBar.setPanel

Replaces the panel at the specified position with a new panel.

Syntax

public void setPanel( int index, StatusBarPanel panel )

Parameters

index

The zero-based index of the panel to replace.

panel

A StatusBarPanel object that represents the new panel to insert in place of the specified panel.

Exceptions

ArrayIndexOutOfBounds thrown if the specified index is not valid.