001package apps.jmrit.log; 002 003import javax.swing.BoxLayout; 004 005/** 006 * Frame for adding to the log file. 007 * 008 * @author Bob Jacobsen Copyright (C) 2007 009 */ 010public class LogFrame extends jmri.util.JmriJFrame { 011 012 public LogFrame() { 013 super(); 014 } 015 016 @Override 017 public void initComponents() { 018 019 setTitle(Bundle.getMessage("LogInputTitle")); 020 getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS)); 021 022 getContentPane().add(new LogPanel()); 023 024 pack(); 025 } 026}