001package jmri.jmrit.nixieclock;
002
003import java.awt.event.ActionEvent;
004import javax.swing.AbstractAction;
005
006/**
007 * Swing action to create and register a NixieClockFrame object
008 *
009 * @author Bob Jacobsen Copyright (C) 2004
010 */
011public class NixieClockAction extends AbstractAction {
012
013    public NixieClockAction() {
014        this("Nixie Clock");
015    }
016
017    public NixieClockAction(String s) {
018        super(s);
019    }
020
021    @Override
022    public void actionPerformed(ActionEvent e) {
023
024        NixieClockFrame f = new NixieClockFrame();
025        f.setVisible(true);
026    }
027
028}