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