code: private void _saveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event__saveActionPerformed
          int[] i = _oList.getSelectedRows();
          String[] o = new String[i.length];
          for (int j = 0; j < i.length; j++) {
              o[j] = (String) _oList.getValueAt(i[j], 0);
          }
          JFileChooser fc = new JFileChooser();
          fc.setFileFilter(new FileNameExtensionFilter("R data file", "Rdata"));
          if (R != null) {
              fc.setSelectedFile(new File(R.cat("_", o) + ".Rdata"));
              if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION && fc.getSelectedFile() != null) {
                  try {
                      R.save(fc.getSelectedFile(), o);
                  } catch (Rsession.RException ex) {
                      ex.printStackTrace();
                  }
              }
          }
      }
docs: GEN-LAST:event__delActionPerformed