List of usage examples for java.awt Frame setTitle
public void setTitle(String title)
From source file:org.sleuthkit.autopsy.casemodule.Case.java
private static void updateMainWindowTitle(String newCaseName) { // update case name if (!newCaseName.equals("")) { Frame f = WindowManager.getDefault().getMainWindow(); f.setTitle(newCaseName + " - " + Case.getAppName()); // set the window name to the new value }// www . j a v a 2 s .c om }