public void setImgPath_PWField(Path img, Imagetype type) {
        switch (type) {
            case DEFAULT:
                this.imgPWField_Def = handleImage(img, UIResNumbers.PWFIELD_DEF.getNum());
                if (this.imgPWField_Def == null) {
                    this.imgPWField_Def = UIDefaultImagePaths.PWFIELD_DEF.getPath();
                    deleteImage(UIResNumbers.PWFIELD_DEF.getNum());
                }
                break;

            case DISABLED:
                this.imgPWField_Dis = handleImage(img, UIResNumbers.PWFIELD_DIS.getNum());
                if (this.imgPWField_Dis == null) {
                    this.imgPWField_Dis = UIDefaultImagePaths.PWFIELD_DIS.getPath();
                    deleteImage(UIResNumbers.PWFIELD_DIS.getNum());
                }
                break;

            case KEYFOCUS:
                this.imgPWField_KFoc = handleImage(img, UIResNumbers.PWFIELD_KFOC.getNum());
                if (this.imgPWField_KFoc == null) {
                    this.imgPWField_KFoc = UIDefaultImagePaths.PWFIELD_KFOC.getPath();
                    deleteImage(UIResNumbers.PWFIELD_KFOC.getNum());
                }
                break;

            case MOUSEFOCUS:
                this.imgPWField_MFoc = handleImage(img, UIResNumbers.PWFIELD_MFOC.getNum());
                if (this.imgPWField_MFoc == null) {
                    this.imgPWField_MFoc = UIDefaultImagePaths.PWFIELD_MFOC.getPath();
                    deleteImage(UIResNumbers.PWFIELD_MFOC.getNum());
                }
                break;

            default:
                throw new IllegalArgumentException();
        }
        somethingChanged();
    }