, .
UIManager.getDefaults().put( "TitledBorder.font", new javax.swing.plaf.FontUIResource( new Font( "Arial", Font.BOLD, 12 ) ) ) ;
TitledBorder , → >
public TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
TitledBorder , , -, .
:
-
title - ,
titleJustification -
titlePosition -
titleFont -
:
public TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
TitledBorder , , -, , - .
:
-
title - ,
titleJustification -
titlePosition -
titleFont -
titleColor -