private void saveImage(){
         if (this.jLabelImage.getIcon()!=null){
            ImageProcessing.imageFormat extension;
            switch(this.jComboBox1.getSelectedItem().toString()){
                case "BMP":
                extension= ImageProcessing.imageFormat.bmp;
                break;
                case "GIF":
                extension=ImageProcessing.imageFormat.gif;
                break;
                case "JPG":
                extension=ImageProcessing.imageFormat.jpg;
                break;
                case "PNG":
                extension=ImageProcessing.imageFormat.png;
                break;
                default:
                extension=ImageProcessing.imageFormat.jpg;
                break;
            }
            ObjSaveImage.saveFile((BufferedImage)ObjTransformFormats.iconToImage(jLabelImage.getIcon()),extension);
        }
    }