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

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

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

revision 1.15 by mark, Sat Jul 2 20:32:47 2005 UTC revision 1.16 by abalkiss, Tue Jul 12 13:48:35 2005 UTC
# Line 438  public class JDialog extends Dialog impl Line 438  public class JDialog extends Dialog impl
438     */     */
439    protected void addImpl(Component comp, Object constraints, int index)    protected void addImpl(Component comp, Object constraints, int index)
440    {    {
441      // If we're adding the rootPane (initialization stages) use super.add.      // If we're adding in the initialization stage use super.add.
442      // Otherwise pass the add onto the content pane.      // Otherwise pass the add onto the content pane.
443      if (comp == rootPane)      if (!initStageDone)
444        super.addImpl(comp, constraints, index);        super.addImpl(comp, constraints, index);
445      else      else
446        {        {

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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