<Swing Dev> Resend JDK 9 RFR of JDK-8076422: Fix missing doclint warnings in javax.swing.border

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Apr 2 12:22:15 UTC 2015


Hi, Joe.
01.04.15 6:12, joe darcy wrote:
> + /**
> +     * Returns the font of the component.
> +     * @return the font of the component
> +     * @param c the component
> +     */
>      protected Font getFont(Component c) {
>          Font font = getTitleFont();
>          if (font != null) {
>
It seems that this method returns the font of the TitledBorder. (I think 
this method it was made protected accidentally, and the idea was that it 
shall be private, but now we cannot change it.)

-- 
Best regards, Sergey.




More information about the swing-dev mailing list