docs: public void actionPerformed(ActionEvent e) {
          if(e.getSource() instanceof JButton){
              if(e.getActionCommand().equals("csv export")){
                  BaseFileChooser fileChooser = new BaseFileChooser();
                  fileChooser.setAcceptAllFileFilterUsed(true);
                  fileChooser.addChoosableFileFilter(new FileExtensionFilter("csv"));
                  if(exportFile!=null)
                      fileChooser.setSelectedFile(new File(exportFile));
                  if (fileChooser.showSaveDialog(this) == BaseFileChooser.APPROVE_OPTION) {
                      exportFile = fileChooser.getSelectedFile().getPath();
                      visualizer.exportCSV(exportFile);
                  }
              }
              if(e.getActionCommand().equals("weka export")){
                  visualizer.weka();
              }
          }
      }