setLabel(Translator.get(visible?Descriptor.ACTION_ID+".hide":Descriptor.ACTION_ID+".show"));
}
@Override
public void performAction() {
StatusBar statusBar = mainFrame.getStatusBar();
boolean visible = !statusBar.isVisible();
// Save the last status bar visible state in the configuration, this will become the default for new MainFrame windows.
MuConfigurations.getPreferences().setVariable(MuPreference.STATUS_BAR_VISIBLE, visible);
// Change the label to reflect the new status bar state
updateLabel(visible);
// Show/hide the status bar
statusBar.setVisible(visible);
mainFrame.validate();
}