/[classpath]/classpath/javax/swing/JFrame.java
ViewVC logotype

Diff of /classpath/javax/swing/JFrame.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by mkoch, Tue Jan 25 07:07:25 2005 UTC revision 1.22 by rabbit78, Mon Jun 6 12:53:44 2005 UTC
# Line 45  import java.awt.Container; Line 45  import java.awt.Container;
45  import java.awt.Dimension;  import java.awt.Dimension;
46  import java.awt.Frame;  import java.awt.Frame;
47  import java.awt.Graphics;  import java.awt.Graphics;
48    import java.awt.GraphicsConfiguration;
49  import java.awt.LayoutManager;  import java.awt.LayoutManager;
50  import java.awt.event.KeyEvent;  import java.awt.event.KeyEvent;
51  import java.awt.event.WindowEvent;  import java.awt.event.WindowEvent;
# Line 79  public class JFrame extends Frame Line 80  public class JFrame extends Frame
80      frameInit();      frameInit();
81    }    }
82    
83      /**
84       * Creates a new JFrame in the specified {@link GraphicsConfiguration}
85       * and with an empty title.
86       *
87       * @param gc the <code>GraphicsConfiguration</code> that is used for
88       *     the new <code>JFrame</code>
89       *
90       * @see Frame(GraphicsConfiguration)
91       */
92      public JFrame(GraphicsConfiguration gc)
93      {
94        super(gc);
95        frameInit();
96      }
97    
98      /**
99       * Creates a new JFrame in the specified {@link GraphicsConfiguration}
100       * and with the specified title.
101       *
102       * @param title the title for the new <code>JFrame</code>
103       * @param gc the <code>GraphicsConfiguration</code> that is used for
104       *     the new <code>JFrame</code>
105       *
106       * @see Frame(String, GraphicsConfiguration)
107       */
108      public JFrame(String title, GraphicsConfiguration gc)
109      {
110        super(title, gc);
111        frameInit();
112      }
113    
114    protected void frameInit()    protected void frameInit()
115    {    {
116      super.setLayout(new BorderLayout(1, 1));      super.setLayout(new BorderLayout(1, 1));

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26