equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 1995-2006 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 |
282 testvalid = true; |
282 testvalid = true; |
283 } |
283 } |
284 } |
284 } |
285 |
285 |
286 // This could change the preferred size of the Component. |
286 // This could change the preferred size of the Component. |
287 if (testvalid && valid) { |
287 if (testvalid) { |
288 invalidate(); |
288 invalidateIfValid(); |
289 } |
289 } |
290 } |
290 } |
291 |
291 |
292 /** |
292 /** |
293 * Determines whether this check box is in the "on" or "off" state. |
293 * Determines whether this check box is in the "on" or "off" state. |