nu.zoom.swing.desktop.Workbench.getStatusbar()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(101)

本文整理了Java中nu.zoom.swing.desktop.Workbench.getStatusbar()方法的一些代码示例,展示了Workbench.getStatusbar()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Workbench.getStatusbar()方法的具体详情如下:
包路径:nu.zoom.swing.desktop.Workbench
类名称:Workbench
方法名:getStatusbar

Workbench.getStatusbar介绍

暂无

代码示例

代码示例来源:origin: nu.zoom.svansprogram/svansprogram-gui-rules

public void importManager() throws ResourceNotFoundException, IOException,
    InvalidDataTypeException, BackendException {
  final FileChooser fileChooser = preferences
      .getConfiguratonFilechooser();
  File openFile = fileChooser.openFile();
  if (openFile != null) {
    StyleRulesManager importFrom = readManager(openFile);
    if (importFrom != null) {
      // workbench.startWorkIndicator();
      this.manager.importManager(importFrom);
      workbench.getStatusbar().setMessage(
          messages.format("nu.zoom.catonine.import.from",
              openFile.getPath()));
      // workbench.stopWorkIndicator();
    }
  }
}

代码示例来源:origin: nu.zoom.svansprogram/svansprogram-gui

JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
  workbench.getStatusbar().addComponent(Box.createHorizontalGlue());
  memStatComponent =
      new MemStatComponent(messages.getMessage("nu.zoom.catonine.memstat.free"),
          messages.getMessage("nu.zoom.catonine.memstat.max"));
  memStatComponent.setAlignmentX(Component.RIGHT_ALIGNMENT);
  workbench.getStatusbar().addComponent(memStatComponent);
} catch (ResourceNotFoundException ex) {
  log.error(ex);

代码示例来源:origin: nu.zoom.svansprogram/svansprogram-gui

workbench.getStatusbar().setMessage(
    messages.format("nu.zoom.catonine.opened",
        file.getAbsolutePath()));

代码示例来源:origin: nu.zoom.svansprogram/svansprogram-gui

menuItem.getValue());
    errorReporter.reportError(message);
    workbench.getStatusbar().setMessage(message);
  } catch (ResourceNotFoundException resourceNotFoundException) {
    errorReporter.reportError(resourceNotFoundException);
      menuItem.getValue());
  errorReporter.reportError(message);
  workbench.getStatusbar().setMessage(message);
} catch (ResourceNotFoundException resourceNotFoundException) {
  errorReporter.reportError(resourceNotFoundException);

相关文章