コード例 #1
0
 private void initLocalization() {
   closeButton.setText(Localization.getString("close"));
   saveButton.setText(Localization.getString("save"));
   TableColumnModel tcm = settingsTable.getTableHeader().getColumnModel();
   tcm.getColumn(0).setHeaderValue(Localization.getString("setting"));
   tcm.getColumn(1).setHeaderValue(Localization.getString("value"));
   tcm.getColumn(2).setHeaderValue(Localization.getString("description"));
   settingsTable.getTableHeader().repaint();
 }
コード例 #2
0
 @Override
 protected void isReadyToSendCommandsEvent() throws Exception {
   if (this.isReady == false) {
     throw new Exception(Localization.getString("controller.smoothie.exception.booting"));
   }
 }