| 1 | /* |
| 2 | * $Id: LogManagerUI.java,v 1.1 2005/08/04 18:58:14 hastings Exp $ |
| 3 | * |
| 4 | * (c) Copyright, Moebius Solutions, Inc., 2004 |
| 5 | * |
| 6 | * All Rights Reserved |
| 7 | * |
| 8 | * This material may be reproduced by or for the U. S. Government |
| 9 | * pursuant to the copyright license under the clause at |
| 10 | * DFARS 252.227-7014 (OCT 2001). |
| 11 | */ |
| 12 | |
| 13 | package com.moesol.ui.log.manager; |
| 14 | |
| 15 | import javax.swing.JFrame; |
| 16 | |
| 17 | // TODO remove copies of these clases in com.moesol.ciil... |
| 18 | |
| 19 | /** |
| 20 | * @author robert |
| 21 | */ |
| 22 | public class LogManagerUI extends JFrame { |
| 23 | private static final long serialVersionUID = 4794088641575275395L; |
| 24 | |
| 25 | /** Create UI, calls build */ |
| 26 | public LogManagerUI() { |
| 27 | setTitle("LogManagerUI"); |
| 28 | build(); |
| 29 | } |
| 30 | /** Create UI */ |
| 31 | public void build() { |
| 32 | m_panel = new LogManagerPanel(); |
| 33 | getContentPane().add(m_panel); |
| 34 | pack(); |
| 35 | } |
| 36 | private LogManagerPanel m_panel; |
| 37 | |
| 38 | /** |
| 39 | * Test entry point |
| 40 | * |
| 41 | * @param args |
| 42 | */ |
| 43 | public static void main(String[] args) { |
| 44 | LogManagerUI ui = new LogManagerUI(); |
| 45 | ui.setVisible(true); |
| 46 | ui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
| 47 | } |
| 48 | } |