jdk/src/share/classes/java/awt/Dialog.java
changeset 1183 80d6aafba03a
parent 2 90ce3da70b43
child 1964 934568dfe859
equal deleted inserted replaced
1182:9590bc50fe0f 1183:80d6aafba03a
     1 /*
     1 /*
     2  * Copyright 1995-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1995-2008 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
  1325 
  1325 
  1326         // On some platforms, changing the resizable state affects
  1326         // On some platforms, changing the resizable state affects
  1327         // the insets of the Dialog. If we could, we'd call invalidate()
  1327         // the insets of the Dialog. If we could, we'd call invalidate()
  1328         // from the peer, but we need to guarantee that we're not holding
  1328         // from the peer, but we need to guarantee that we're not holding
  1329         // the Dialog lock when we call invalidate().
  1329         // the Dialog lock when we call invalidate().
  1330         if (testvalid && valid) {
  1330         if (testvalid) {
  1331             invalidate();
  1331             invalidateIfValid();
  1332         }
  1332         }
  1333     }
  1333     }
  1334 
  1334 
  1335 
  1335 
  1336     /**
  1336     /**