001package jmri.jmrit.ussctc;
002
003import javax.swing.BoxLayout;
004
005/**
006 * User interface frame for creating and editing "OS Indicator" logic on USS CTC
007 * machines.
008 *
009 * @see jmri.jmrit.ussctc.OsIndicator
010 * @see jmri.jmrit.ussctc.OsIndicatorPanel
011 * @see jmri.jmrit.ussctc.OsIndicatorAction
012 * @author Bob Jacobsen Copyright (C) 2007
013 */
014public class OsIndicatorFrame extends jmri.util.JmriJFrame {
015
016    public OsIndicatorFrame() {
017        super();
018    }
019
020    @Override
021    public void initComponents() {
022        addHelpMenu("package.jmri.jmrit.ussctc.OsIndicatorFrame", true); // NOI18N
023
024        getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
025
026        getContentPane().add(new OsIndicatorPanel());
027        setTitle(Bundle.getMessage("TitleOsIndicator")); // NOI18N
028
029        // pack to cause display
030        pack();
031    }
032
033}