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

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

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

revision 1.17 by mark, Sat Jul 2 20:32:47 2005 UTC revision 1.18 by abalkiss, Tue Jul 12 13:48:35 2005 UTC
# Line 148  public class JApplet extends Applet Line 148  public class JApplet extends Applet
148    
149    protected void addImpl(Component comp, Object constraints, int index)    protected void addImpl(Component comp, Object constraints, int index)
150    {    {
151      // If we're adding the rootPane (initialization stages) use super.add.      // If we're adding in the initialization stage use super.add.
152      // Otherwise pass the add onto the content pane.      // Otherwise pass the add onto the content pane.
153      if (comp == rootPane)      if (!initStageDone)
154        super.addImpl(comp, constraints, index);        super.addImpl(comp, constraints, index);
155      else      else
156        {        {

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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