001package jmri.jmrit.beantable.signalmast; 002 003import javax.swing.BoxLayout; 004import jmri.util.JmriJFrame; 005 006/** 007 * JFrame to create a new SignalMast 008 * 009 * @author Bob Jacobsen Copyright (C) 2009 010 */ 011public class SignalMastRepeaterJFrame extends JmriJFrame { 012 013 public SignalMastRepeaterJFrame() { 014 super(Bundle.getMessage("TitleSignalMastRepeater"), false, true); 015 016 addHelpMenu("package.jmri.jmrit.beantable.SignalMastRepeater", true); 017 sigMastPanel = new SignalMastRepeaterPanel(); 018 init(); 019 } 020 021 final void init(){ 022 getContentPane().setLayout(new BoxLayout(this.getContentPane(), BoxLayout.Y_AXIS)); 023 add(sigMastPanel); 024 pack(); 025 } 026 027 final SignalMastRepeaterPanel sigMastPanel; 028 029}