<p>addSubTitle.</p>

@param chart a {@link org.jfree.chart.JFreeChart} object.
@param subTitle a {@link java.lang.String} object.
@param font a {@link java.awt.Font} object.
552217
protected void addSubTitle(JFreeChart chart, String subTitle, Font font)
	{
		if (StringUtils.isNotEmpty(subTitle))
		{
			TextTitle chartSubTitle = new TextTitle(subTitle);
			customizeTitle(chartSubTitle, font);
			chart.addSubtitle(chartSubTitle);
		}
	}
163324
public void setTitleText(final String title, final Serializable... args) {
		ValidationErrorsModel model = getOrCreateComponentModel();
		model.title = I18nUtilities.asMessage(title, args);
	}
696634
public boolean addTitle(String title) {
        try {
            return add(new Meta(Element.TITLE, title));
		} catch (DocumentException de) {
            throw new ExceptionConverter(de);
        }
    }
462874
private void showTitle(@Nullable final CharSequence title) {
        ActionBar actionBar = getSupportActionBar();

        if (actionBar != null) {
            if (isSplitScreen()) {
                if (toolbarLarge != null) {
                    toolbarLarge.setTitle(title);
                }

                actionBar.setTitle(null);
            } else {
                actionBar.setTitle(title);
            }
        }
    }
709682
def setSubTitle(self, title):
        
        self._subTitleLabel.setText(title)
        self._subTitleLabel.adjustSize()
        self.adjustMargins()
494830
protected ChatGlyph createSubtitle (ChatMessage message, int type, Graphics2D layoutGfx,
                                        boolean expires)
    {
        // we might need to modify the textual part with translations, but we can't do that to the
        // message object, since other chatdisplays also get it.
        String text = message.message;
        Tuple<String, Boolean> finfo = _logic.decodeFormat(type, message.getFormat());
        String format = finfo.left;
        boolean quotes = finfo.right;

        // now format the text
        if (format != null) {
            if (quotes) {
                text = "\"" + text + "\"";
            }
            text = " " + text;
            text = xlate(MessageBundle.tcompose(
                             format, ((UserMessage) message).getSpeakerDisplayName())) + text;
        }

        return createSubtitle(layoutGfx, type, message.timestamp, null, 0, text, expires);
    }
95360
public void label(String text, Font font, double... coord) {
        Label label = new Label(text, coord);
        label.setFont(font);
        add(label);
    }
876440
@Override 
	@Deprecated
	public void setTitle(String title) {
		StringBuilder strBuilder = new StringBuilder();
		if (title != null && !title.isEmpty()) {
			strBuilder.append(title);
			strBuilder.append(" - ");
		}
		strBuilder.append(Constant.PROGRAM_NAME).append(' ').append(Constant.PROGRAM_VERSION);
		super.setTitle(strBuilder.toString());
	}
1244025
public void addSubstitutionFont(BaseFont font) {
        if (substitutionFonts == null)
            substitutionFonts = new ArrayList();
        substitutionFonts.add(font);
    }
677182
public void setFont(Font font) {
		if (isInitialized) {
			dateEditor.getUiComponent().setFont(font);
			jcalendar.setFont(font);
		}
		super.setFont(font);
	}
725702
public void title(String title) {
        Validate.notNull(title);
        Element titleEl = getElementsByTag("title").first();
        if (titleEl == null) { // add to head
            head().appendElement("title").text(title);
        } else {
            titleEl.text(title);
        }
    }
972011
public void setTitleText(final String title, final Serializable... args) {
		Serializable currTitle = getComponentModel().title;
		Serializable titleToBeSet = I18nUtilities.asMessage(title, args);

		if (!Objects.equals(titleToBeSet, currTitle)) {
			MessageModel model = getOrCreateComponentModel();
			model.title = titleToBeSet;
		}
	}
97852
public static function setSubTitle( $graph, $config )
	{
		if( empty( $config['subtitle'] ) )
			return;
		$graph->subtitle->Set( $config['subtitle'] );
		self::setFont( $graph->subtitle, self::getSubConfig( $config, 'subtitle.' ) );
	}
1043921
public void setAbstract(final String description) {
        if (description == null && this.description == null) {
            return;
        } else if (description == null) {
            removeChild(this.description);
            this.description = null;
        } else if (this.description == null) {
            this.description = new KeyValueNode<String>(CommonConstants.CS_ABSTRACT_TITLE, description);
            appendChild(this.description, false);
        } else {
            this.description.setValue(description);
        }
    }
926296
private void bindTitle(final ServiceTask<?> task, final StringProperty titleProperty) {

        // Perform this binding into the JAT to respect widget and task API
        JRebirth.runIntoJAT("Bind Title for " + task.getServiceHandlerName(),
                            // Bind the task title
                            () -> titleProperty.bind(task.titleProperty()));
    }
801326
public void setTitle(java.lang.String title) {
        getStateHelper().put(PropertyKeys.title, title);
        handleAttribute("title", title);
    }
417258
@Override
    public void setTitleAt(int index, String title) {
    	Component tabCom = this.getTabComponentAt(index);
    	if (tabCom != null && tabCom instanceof JPanel) {
    		Component c = ((JPanel)tabCom).getComponent(0);
			if (c != null && c instanceof JLabel) {
				((JLabel)c).setText(title);
			}
    	}
      else {
        super.setTitleAt(index, title);
      }
    }