public static void saveAs(Skin skin, String newName) {
        if ((skin != null) && (model != null) && (newName != null) && !newName.equals("")) {
            if (!model.saveAsSkinToDefaultDirectory(skin, newName)) {
                showProblemMessage("Main.saveAs: Skin was not saved!");
            }
        } else {
            throw new InvalidParameterException();
        }
    }