001package jmri.jmrix.pricom.downloader;
002
003import jmri.util.JmriJFrame;
004
005/**
006 * Frame for downloading (mangled) .hex files
007 * <p>
008 * This is just an enclosure for the LoaderPane, which does the real work.
009 *
010 * @author Bob Jacobsen Copyright (C) 2005
011 */
012public class LoaderFrame extends JmriJFrame {
013
014    // GUI member declarations
015    LoaderPane pane = new LoaderPane();
016
017    public LoaderFrame() {
018        super(Bundle.getMessage("TitleLoader"));
019        // general GUI config
020
021        // install items in GUI
022        getContentPane().add(pane);
023        pack();
024    }
025
026    // Clean up this window
027    @Override
028    public void dispose() {
029        pane.dispose();
030        super.dispose();
031    }
032
033}