View Javadoc

1   /*
2   
3   nextobjects Copyright (C) 2001-2005 Emmanuel Florent
4   
5   This program is free software; you can redistribute it and/or modify
6   it under the terms of the GNU General Public License as published by the
7   Free Software Foundation; either version 2 of the License, or (at your
8   option) any later version.
9   
10  This program is distributed in the hope that it will
11  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12  of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the GNU General Public License for more details.
14  
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc., 59
17  Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  
19  */
20  package org.devaki.nextobjects.ui.others;
21  
22  
23  import javax.swing.JFrame;
24  import java.awt.Dimension;
25  import javax.swing.WindowConstants;
26  
27  
28  public class HelpNO extends JFrame
29  {
30  
31  
32    public HelpNO()
33    {
34      /*** Initialization **/
35      // Specify the title
36      super("Help - devaki - nextobjects");
37      // Define the size of the window
38      this.setSize(new Dimension(640, 480));
39      // Center the window
40      this.setLocationRelativeTo(null);
41      // Specify that the window is resizable
42      this.setResizable(true);
43      // Define what to do when closing this window using
44      this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
45  
46  
47    }
48  }