title += "Untitled";
title += Resources.getString("general.file.untitled");
    private void updateTitle() {        String title = "Tiled";        if (currentMap != null) {            String filename = currentMap.getFilename();            title += " - ";            if (filename != null) {                title += currentMap.getFilename();            } else {                title += "Untitled";            }            if (unsavedChanges()) {                title += "*";            }        }        appFrame.setTitle(title);    }