void () { myActionPanel.add(createReloadButtonPanel(), UpdateStatus.IDLE.name()); myActionPanel.add(createReloadInProgressPanel(), UpdateStatus.UPDATING.name()); changeUpdateStatus(UpdateStatus.IDLE); }