public void actionPerformed(ActionEvent arg0) {
EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
FileParser reader = new FileParser(file);
reader.process();
resultsPane = new JPanel();
resultsPane.setBorder(new EmptyBorder(5, 5, 5, 5));
resultsPane.setLayout(new BorderLayout(0, 0));
EnumMap<EffectType, Integer> damageMap = reader.getDamage();
Object[][] data = new Object[damageMap.size()][2];
int i = 0;
for(EffectType eftTyp : damageMap.keySet()){