/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; } }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; } }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; } }
if (handle == 0) error (SWT.ERROR_NO_HANDLES); long /*int*/ group = OS.gtk_window_get_group(0); OS.gtk_window_group_add_window (group, handle); box = OS.gtk_hbox_new (false, 0); if (box == 0) error (SWT.ERROR_NO_HANDLES); long /*int*/ label = OS.gtk_label_new (buffer); if (label == 0) error (SWT.ERROR_NO_HANDLES); OS.gtk_container_add (box, label); OS.gtk_widget_show (label);
if (handle == 0) error (SWT.ERROR_NO_HANDLES); int /*long*/ group = OS.gtk_window_get_group(0); OS.gtk_window_group_add_window (group, handle); box = OS.gtk_hbox_new (false, 0); if (box == 0) error (SWT.ERROR_NO_HANDLES); int /*long*/ label = OS.gtk_label_new (buffer); if (label == 0) error (SWT.ERROR_NO_HANDLES); OS.gtk_container_add (box, label); OS.gtk_widget_show (label);
if (handle == 0) error (SWT.ERROR_NO_HANDLES); int /*long*/ group = OS.gtk_window_get_group(0); OS.gtk_window_group_add_window (group, handle); box = OS.gtk_hbox_new (false, 0); if (box == 0) error (SWT.ERROR_NO_HANDLES); int /*long*/ label = OS.gtk_label_new (buffer); if (label == 0) error (SWT.ERROR_NO_HANDLES); OS.gtk_container_add (box, label); OS.gtk_widget_show (label);