414 * builder environment. |
414 * builder environment. |
415 * |
415 * |
416 * <p>Note that this method is security checked |
416 * <p>Note that this method is security checked |
417 * and is not available to (for example) untrusted applets. |
417 * and is not available to (for example) untrusted applets. |
418 * More specifically, if there is a security manager, |
418 * More specifically, if there is a security manager, |
419 * its <code>checkPropertiesAccess</code> |
419 * its {@code checkPropertiesAccess} |
420 * method is called. This could result in a SecurityException. |
420 * method is called. This could result in a SecurityException. |
421 * |
421 * |
422 * @param isDesignTime True if we're in an application builder tool. |
422 * @param isDesignTime True if we're in an application builder tool. |
423 * @exception SecurityException if a security manager exists and its |
423 * @exception SecurityException if a security manager exists and its |
424 * <code>checkPropertiesAccess</code> method doesn't allow setting |
424 * {@code checkPropertiesAccess} method doesn't allow setting |
425 * of system properties. |
425 * of system properties. |
426 * @see SecurityManager#checkPropertiesAccess |
426 * @see SecurityManager#checkPropertiesAccess |
427 */ |
427 */ |
428 |
428 |
429 public static void setDesignTime(boolean isDesignTime) |
429 public static void setDesignTime(boolean isDesignTime) |
440 * where GUI interaction is available. |
440 * where GUI interaction is available. |
441 * |
441 * |
442 * <p>Note that this method is security checked |
442 * <p>Note that this method is security checked |
443 * and is not available to (for example) untrusted applets. |
443 * and is not available to (for example) untrusted applets. |
444 * More specifically, if there is a security manager, |
444 * More specifically, if there is a security manager, |
445 * its <code>checkPropertiesAccess</code> |
445 * its {@code checkPropertiesAccess} |
446 * method is called. This could result in a SecurityException. |
446 * method is called. This could result in a SecurityException. |
447 * |
447 * |
448 * @param isGuiAvailable True if GUI interaction is available. |
448 * @param isGuiAvailable True if GUI interaction is available. |
449 * @exception SecurityException if a security manager exists and its |
449 * @exception SecurityException if a security manager exists and its |
450 * <code>checkPropertiesAccess</code> method doesn't allow setting |
450 * {@code checkPropertiesAccess} method doesn't allow setting |
451 * of system properties. |
451 * of system properties. |
452 * @see SecurityManager#checkPropertiesAccess |
452 * @see SecurityManager#checkPropertiesAccess |
453 */ |
453 */ |
454 |
454 |
455 public static void setGuiAvailable(boolean isGuiAvailable) |
455 public static void setGuiAvailable(boolean isGuiAvailable) |