Code example for TitledBorder

Methods: setTitle

0
	public synchronized boolean isInterrupted() { 
		return interrupted;
	} 
 
	public synchronized void setJobName(String jobName) {
		border.setTitle(jobName);
		repaint();
	} 
 
	public synchronized void setJobSize(int size) {
		progress.setMaximum(size);
	} 
 
	public synchronized void setProgress(int value) {
		progress.setValue(value);
	} 
 
	public synchronized boolean tryStartJob() { 
		if (busy)
			return false; 
Contextual code suggestions in your IDE  Get Codota for Java