001package jmri.jmrit.operations.rollingstock.cars;
002
003import java.awt.event.ActionEvent;
004
005import javax.swing.AbstractAction;
006
007/**
008 * Swing action to create and register a CarsTableFrame object.
009 *
010 * @author Bob Jacobsen Copyright (C) 2001
011 * @author Daniel Boudreau Copyright (C) 2008
012 */
013public class CarsTableAction extends AbstractAction {
014
015    public CarsTableAction() {
016        super(Bundle.getMessage("MenuCars")); // NOI18N
017    }
018
019    @Override
020    public void actionPerformed(ActionEvent e) {
021        // create a car table frame
022        new CarsTableFrame(true, null, null);
023    }
024}
025
026