KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > Frame


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: Frame.java,v $
11    Revision 1.8 2004/05/06 12:35:21 bobintetley
12    Parity with Swing constants for Binary Compatibility + fixes to JDesktopPane
13
14    Revision 1.7 2004/04/16 10:19:06 dannaab
15    Misc bug fixes, InputMap implementation, preliminary undo support
16
17    Revision 1.6 2004/03/22 15:10:21 bobintetley
18    JRootPane and JLayeredPane implementation
19
20    Revision 1.5 2004/03/18 14:42:10 bobintetley
21    Fix to Window hierarchy to match Swing, and fix to allow MDI apps
22       to work under SWT 2.x
23
24    Revision 1.4 2004/01/15 10:11:14 bobintetley
25    Fixed AWT constructors/hierarchy
26
27    Revision 1.3 2003/12/14 09:13:38 bobintetley
28    Added CVS log to source headers
29
30 */

31
32 package swingwt.awt;
33
34
35 public class Frame extends Window {
36     
37     public final static int NORMAL = 0;
38     public final static int ICONIFIED = 1;
39     public final static int MAXIMIZED_HORIZ = 2;
40     public final static int MAXIMIZED_VERT = 4;
41     public final static int MAXIMIZED_BOTH = MAXIMIZED_HORIZ | MAXIMIZED_VERT;
42     
43     public Frame() {
44         this("");
45     }
46     public Frame(GraphicsConfiguration gc) { this(); }
47     public Frame(String JavaDoc title) { super((Frame)null); setTitle(title); }
48     
49     public void setResizable(boolean b) { }
50     public boolean isResizable() { return true; }
51     
52 }
Popular Tags