KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > compiere > grid > Customize


1 /******************************************************************************
2  * The contents of this file are subject to the Compiere License Version 1.1
3  * ("License"); You may not use this file except in compliance with the License
4  * You may obtain a copy of the License at http://www.compiere.org/license.html
5  * Software distributed under the License is distributed on an "AS IS" basis,
6  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
7  * the specific language governing rights and limitations under the License.
8  * The Original Code is Compiere ERP & CRM Business Solution
9  * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
10  * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke, parts
11  * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved.
12  * Contributor(s): ______________________________________.
13  *****************************************************************************/

14 package org.compiere.grid;
15
16 import java.awt.*;
17 import javax.swing.*;
18
19 /**
20  * Customize Screen Definitions
21  * <pre>
22  *
23  * </pre>
24  * @author Jorg Janke
25  * @version $Id: Customize.java,v 1.2 2001/10/16 21:35:41 jjanke Exp $
26  */

27 public class Customize extends JDialog
28 {
29     /**
30      *
31      */

32     public Customize(Frame frame)
33     {
34         super(frame, "Customize ", true);
35         try
36         {
37             jbInit();
38             pack();
39         }
40         catch(Exception JavaDoc ex)
41         {
42             ex.printStackTrace();
43         }
44     }
45
46     public Customize()
47     {
48         this(null);
49     }
50
51     private JPanel panel1 = new JPanel();
52     private BorderLayout borderLayout1 = new BorderLayout();
53
54
55     void jbInit() throws Exception JavaDoc
56     {
57         panel1.setLayout(borderLayout1);
58         getContentPane().add(panel1);
59     }
60 }
Popular Tags