示例#1
0
 public void startAnimation() {
   icon.setRunning(true);
   animator.start();
 }
示例#2
0
 public void stopAnimation() {
   icon.setRunning(false);
   animator.stop();
 }
示例#3
0
 @Override
 public void actionPerformed(ActionEvent e) {
   icon.next();
   repaint();
 }