int returnVal = fileChooser.showSaveDialog(parentWindow);
if (cont instanceof GradientPanel) {
GradientPanel contentPane = (GradientPanel) cont;
contentPane.setBlurred(false);
contentPane.repaint();
}
if (returnVal == JFileChooser.APPROVE_OPTION) {
String path = fileChooser.getSelectedFile().getAbsolutePath();
if (!path.endsWith(".png")) {