001package jmri.jmrit.ussctc; 002 003import javax.swing.JMenu; 004 005/** 006 * Create a "Tools" menu containing the USS CTC tools 007 * 008 * @author Bob Jacobsen Copyright 2007 009 */ 010public class ToolsMenu extends JMenu { 011 012 public ToolsMenu(String name) { 013 this(); 014 setText(name); 015 } 016 017 public ToolsMenu() { 018 019 super(); 020 021 setText(Bundle.getMessage("MenuCtcTools")); // NOI18N 022 023 add(new OsIndicatorAction(Bundle.getMessage("MenuItemOsIndicator"))); // NOI18N 024 add(new FollowerAction(Bundle.getMessage("MenuItemFollower"))); // NOI18N 025 } 026}