public void actionPerformed(final ActionEvent actionEvent) {
        final Object source = actionEvent.getSource();
        if (source.equals(addParser)) {
            appendParser(availableParsers.getSelectedValue().toString());
        } else if ((source.equals(openFileChooser)) || ((source.equals(selectedFileText)))) {
            final JFileChooser chooser = new JFileChooser("~/");
            chooser.setDialogTitle("Select trace file to load");
            final int returnVal = chooser.showOpenDialog(chooser);
            if ((returnVal == JFileChooser.APPROVE_OPTION) && (chooser.getSelectedFile().canRead())) {
                final String filename2open = chooser.getSelectedFile().getAbsolutePath();
                openTrace(filename2open);
            }

        } else if (source.equals(refreshTrace)) {
            openTrace(TraceFile.getInstance().getFilename());
        }

    }