this.showPerfReportItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (MainFrame.this.lastRunProcessTrace == null) {
MainFrame.this.showError("No performance report to show.");
} else {
PerformanceReportDialog prd = new PerformanceReportDialog(MainFrame.this);
prd.displayStats(MainFrame.this.lastRunProcessTrace, 1, "Process trace");
}
}
});
runMenu.add(this.showPerfReportItem);
runMenu.addSeparator();