/** * Returns the default font used for this window. * <p> * The default implementation of this framework method * obtains the symbolic name of the font from the * <code>getSymbolicFontName</code> framework method * and retrieves this font from JFace's font * registry using <code>JFaceResources.getFont</code>. * Subclasses may override to use a different registry, * etc. * </p> * * @return the default font, or <code>null</code> if none */ protected Font getFont() { return JFaceResources.getFont(getSymbolicFontName()); }
/** * Returns the default font used for this window. * <p> * The default implementation of this framework method * obtains the symbolic name of the font from the * <code>getSymbolicFontName</code> framework method * and retrieves this font from JFace's font * registry using <code>JFaceResources.getFont</code>. * Subclasses may override to use a different registry, * etc. * </p> * * @return the default font, or <code>null</code> if none */ protected Font getFont() { return JFaceResources.getFont(getSymbolicFontName()); }
/** * Returns the default font used for this window. * <p> * The default implementation of this framework method * obtains the symbolic name of the font from the * <code>getSymbolicFontName</code> framework method * and retrieves this font from JFace's font * registry using <code>JFaceResources.getFont</code>. * Subclasses may override to use a different registry, * etc. * </p> * * @return the default font, or <code>null</code> if none */ protected Font getFont() { return JFaceResources.getFont(getSymbolicFontName()); }