package org.khelekore.jsizer;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;

/** A class that starts the sizing. */
class RunAction extends AbstractAction {
    private static final long serialVersionUID = 1;
    private JSizer js;

    public RunAction (JSizer js) {
	super ("Run sizer");
	this.js = js;
    }
    
    public void actionPerformed (ActionEvent e) {
	js.runSizer ();
    }
}
