/[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.20 by mkoch, Tue Dec 21 19:50:08 2004 UTC revision 1.21 by mkoch, Tue Jan 25 07:07:25 2005 UTC
# Line 1  Line 1 
1  /* JFrame.java --  /* JFrame.java --
2     Copyright (C) 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 123  public class JFrame extends Frame Line 123  public class JFrame extends Frame
123      return rootPane;      return rootPane;
124    }    }
125    
126    public void setRootPane(JRootPane root)    protected void setRootPane(JRootPane root)
127    {    {
128      if (rootPane != null)      if (rootPane != null)
129        remove(rootPane);        remove(rootPane);
# Line 132  public class JFrame extends Frame Line 132  public class JFrame extends Frame
132      add(rootPane, BorderLayout.CENTER);      add(rootPane, BorderLayout.CENTER);
133    }    }
134    
135    public JRootPane createRootPane()    protected JRootPane createRootPane()
136    {    {
137      return new JRootPane();      return new JRootPane();
138    }    }

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

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