/** * Standard constructor - builds a font chooser dialog owned by another dialog. * * @param owner the dialog that 'owns' this dialog. * @param title the title for the dialog. * @param modal a boolean that indicates whether or not the dialog is modal. * @param font the initial font displayed. */ public FontChooserDialog(final Dialog owner, final String title, final boolean modal, final Font font) { super(owner, title, modal); setContentPane(createContent(font)); }
/** * Standard constructor - builds a font chooser dialog owned by another dialog. * * @param owner the dialog that 'owns' this dialog. * @param title the title for the dialog. * @param modal a boolean that indicates whether or not the dialog is modal. * @param font the initial font displayed. */ public FontChooserDialog(final Dialog owner, final String title, final boolean modal, final Font font) { super(owner, title, modal); setContentPane(createContent(font)); }
/** * Standard constructor - builds a font chooser dialog owned by a frame. * * @param owner the frame that 'owns' this dialog. * @param title the title for the dialog. * @param modal a boolean that indicates whether or not the dialog is modal. * @param font the initial font displayed. */ public FontChooserDialog(final Frame owner, final String title, final boolean modal, final Font font) { super(owner, title, modal); setContentPane(createContent(font)); }
/** * Standard constructor - builds a font chooser dialog owned by another dialog. * * @param owner the dialog that 'owns' this dialog. * @param title the title for the dialog. * @param modal a boolean that indicates whether or not the dialog is modal. * @param font the initial font displayed. */ public FontChooserDialog(final Dialog owner, final String title, final boolean modal, final Font font) { super(owner, title, modal); setContentPane(createContent(font)); }
/** * Standard constructor - builds a font chooser dialog owned by a frame. * * @param owner the frame that 'owns' this dialog. * @param title the title for the dialog. * @param modal a boolean that indicates whether or not the dialog is modal. * @param font the initial font displayed. */ public FontChooserDialog(final Frame owner, final String title, final boolean modal, final Font font) { super(owner, title, modal); setContentPane(createContent(font)); }
/** * Standard constructor - builds a font chooser dialog owned by a frame. * * @param owner the frame that 'owns' this dialog. * @param title the title for the dialog. * @param modal a boolean that indicates whether or not the dialog is modal. * @param font the initial font displayed. */ public FontChooserDialog(final Frame owner, final String title, final boolean modal, final Font font) { super(owner, title, modal); setContentPane(createContent(font)); }