Пример #1
0
 @Override
 public void actionPerformed(ActionEvent e) {
   CommandFromGod cmd = (CommandFromGod) e.getSource();
   cmd.execute();
 }
Пример #2
0
 // -----------------------------------------
 public void actionPerformed(ActionEvent e) {
   CommandFromGod obj = (CommandFromGod) e.getSource();
   obj.Execute();
 }