/** * Sets the title image to be shown in the title area of this dialog. * * @param newTitleImage * the title image to be shown */ public void setTitleImage(Image newTitleImage) { titleAreaImage = newTitleImage; if (titleImageLabel != null) { titleImageLabel.setImage(newTitleImage); determineTitleImageLargest(); Control top; if (titleImageLargest) top = titleImageLabel; else top = messageLabel; resetWorkAreaAttachments(top); } }
/** * Sets the title image to be shown in the title area of this dialog. * * @param newTitleImage * the title image to be shown */ public void setTitleImage(Image newTitleImage) { titleAreaImage = newTitleImage; if (titleImageLabel != null) { titleImageLabel.setImage(newTitleImage); determineTitleImageLargest(); Control top; if (titleImageLargest) top = titleImageLabel; else top = messageLabel; resetWorkAreaAttachments(top); } }
/** * Sets the title image to be shown in the title area of this dialog. * * @param newTitleImage * the title image to be shown */ public void setTitleImage(Image newTitleImage) { titleAreaImage = newTitleImage; if (titleImageLabel != null) { titleImageLabel.setImage(newTitleImage); determineTitleImageLargest(); Control top; if (titleImageLargest) top = titleImageLabel; else top = messageLabel; resetWorkAreaAttachments(top); } }
bottomFillerLabel.setBackground(background); setLayoutsForNormalMessage(verticalSpacing, horizontalSpacing); determineTitleImageLargest(); if (titleImageLargest) return titleImageLabel;
bottomFillerLabel.setBackground(background); setLayoutsForNormalMessage(verticalSpacing, horizontalSpacing); determineTitleImageLargest(); if (titleImageLargest) return titleImageLabel;
bottomFillerLabel.setBackground(background); setLayoutsForNormalMessage(verticalSpacing, horizontalSpacing); determineTitleImageLargest(); if (titleImageLargest) return titleImageLabel;