001package jmri.jmrit.operations.routes.tools; 002 003import java.awt.event.ActionEvent; 004 005import javax.swing.AbstractAction; 006 007/** 008 * Starts the Import Routes Thread 009 * 010 * @author Daniel Boudreau Copyright (C) 2025 011 */ 012public class ImportRoutesAction extends AbstractAction { 013 014 public ImportRoutesAction() { 015 super(Bundle.getMessage("TitleImportRoutes")); 016 } 017 018 @Override 019 public void actionPerformed(ActionEvent e) { 020 Thread mb = new ImportRoutes(); 021 mb.setName("Import Routes"); // NOI18N 022 mb.start(); 023 } 024 025}