public void actionPerformed(ActionEvent e) { calc = (Calculator) e.getSource(); antwoordVeld.setText( "<[" + calc.getBase().getName() + "," + calc.getFormat().getName() + "," + calc.firstOperand() + ", " + calc.secondOperand() + "] >"); }