1 package org.wcb.gui.dialog;
2
3 import org.wcb.gui.forms.wizard.ImportWizard;
4 import org.wcb.gui.util.UIHelper;
5
6 import javax.swing.*;
7 import java.awt.*;
8
9 /**
10 * <small>
11 * Copyright (c) 2006 wbogaardt.
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 * <p/>
26 * $File: $ <br>
27 * $Change: $ submitted by $Author: wbogaardt $ at $DateTime: Apr 13, 2006 9:50:03 AM $ <br>
28 * </small>
29 *
30 * @author wbogaardt
31 * @version 1
32 * Date: Apr 13, 2006
33 * Time: 9:50:03 AM
34 */
35
36 public class CSVDataImportWizardDialog extends JDialog {
37
38 public CSVDataImportWizardDialog() {
39 setTitle("Pilot's Log - CSV Data Import");
40 setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
41 setModal(true);
42 initComponents();
43 }
44
45 private void initComponents() {
46 getContentPane().setLayout(new BorderLayout());
47 getContentPane().add(new ImportWizard(), BorderLayout.CENTER);
48 pack();
49 UIHelper.centerDialogToScreen(this);
50 }
51
52 }