/[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.25 by mark, Sat Jul 2 20:32:47 2005 UTC revision 1.26 by abalkiss, Tue Jul 12 13:48:35 2005 UTC
# Line 214  public class JFrame extends Frame Line 214  public class JFrame extends Frame
214    
215    protected void addImpl(Component comp, Object constraints, int index)    protected void addImpl(Component comp, Object constraints, int index)
216    {    {
217      // If we're adding the rootPane (initialization stages) use super.add.      // If we're adding in the initialization stage use super.add.
218      // Otherwise pass the add onto the content pane.      // Otherwise pass the add onto the content pane.
219      if (comp==rootPane)      if (!initStageDone)
220        super.addImpl(comp, constraints, index);        super.addImpl(comp, constraints, index);
221      else      else
222        {        {

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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