Пример #1
0
 public void actionPerformed(ActionEvent e) {
   d = (DobbelsteenModel) e.getSource();
   waarde = d.getWaarde();
   repaint();
 }
Пример #2
0
 public void actionPerformed(ActionEvent e) {
   d = (DobbelsteenModel) e.getSource();
   steenRoodVeld.setText("" + d.getWaarde());
 }