createCenteredBusyLabel
public static BusyUtils.BusyLabel createCenteredBusyLabel(JScrollPane scrollPane,
String text,
JComponent component)
Creates a new JXBusyLabel wrapper and set it at the center of scrollPane. When users
calls BusyLabel.setBusy(false), the label is removed from scrollPanel and
component is set instead.
- Parameters:
scrollPane - the scroll Panel where the label is to be put
text - the text set to the newly created label
component - the component to set in scrollPane when it is not busy anymore
- Returns:
- the newly created
JXBusyLabel wrapper