Newer
Older
MagnetRON / src / org / ntlab / actions / PauseAnimationAction.java
Aki Hongo on 28 Dec 2020 377 bytes #5 Add JToolButton to operate animation like resume, pause, stop.
package org.ntlab.actions;

import java.awt.event.ActionEvent;

import org.ntlab.deltaViewer.IMagnetRON;

public class PauseAnimationAction extends AbstractMagnetRONAction {

	public PauseAnimationAction(IMagnetRON magnetRON) {
		super("ˆêŽž’âŽ~", magnetRON);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		magnetRON.pauseAnimation();						
	}
}