private void jMenuItem9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem9ActionPerformed
        FileManager fileManager = new FileManager();
        jFileChooser1 = new javax.swing.JFileChooser(defaultPath);
        int option = this.jFileChooser1.showSaveDialog(this);
        if (option == JFileChooser.APPROVE_OPTION) {
            if (this.jFileChooser1.getSelectedFile() != null) {
                File file = this.jFileChooser1.getSelectedFile();
                fileManager.savePNG(canvas.drawCanvas(), file);
            }
        }
    }//GEN-LAST:event_jMenuItem9ActionPerformed