コード例 #1
0
ファイル: InputPanel.java プロジェクト: 4ment/beast-mcmc
  public void selectionChanged() {
    int[] selRows = dataTable.getSelectedRows();
    boolean hasSelection = (selRows != null && selRows.length != 0);
    removeAction.setEnabled(hasSelection);

    frame.setRemoveActionEnabled(this, hasSelection);
  }