public void setFont(String header_font_family, int header_font_size,
            String details_font_family, int details_font_size) {
        this.headerLabel
                .setStyle("-fx-font-family: \"" + header_font_family + "\";"
                        + "-fx-font-size:" + Integer.toString(header_font_size) + "px;");
        this.detailsLabel
                .setStyle("-fx-font-family: \"" + details_font_family + "\";"
                        + "-fx-font-size:" + Integer.toString(details_font_size) + "px;");
    }
public void setFont ( String header_font_family , int header_font_size , String details_font_family , int details_font_size ) { this . headerLabel . setStyle ( "-fx-font-family: \"" + header_font_family + "\";" + "-fx-font-size:" + Integer . toString ( header_font_size ) + "px;" ) ; this . detailsLabel . setStyle ( "-fx-font-family: \"" + details_font_family + "\";" + "-fx-font-size:" + Integer . toString ( details_font_size ) + "px;" ) ; }
Sets the font sizes and the font families for the header and details
label.

@param header_font_family The header font family in <code>Strings</code>
@param header_font_size The header font size in pixels
@param details_font_family The details font family in
<code>Strings</code>
@param details_font_size The details font size in pixels