docs: private void saveButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveButtonActionPerformed
          // Save the current barcode
          JFileChooser fileChooser = new JFileChooser();
          if (fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {
              File file = fileChooser.getSelectedFile();
              SaveSymbol saveSymbol = new SaveSymbol();
  
              saveSymbol.removeAll();
  
              saveSymbol.setSize(saveSymbol.getPreferredSize());
              saveSymbol.setBorder(BorderFactory.createEmptyBorder());
              saveSymbol.setBackground(paperColour);
              try {
                  SaveImage saveImage = new SaveImage();
                  saveImage.save(file, saveSymbol);
              } catch (IOException e) {
                  System.out.println("Cannot write to file " + fileChooser.getSelectedFile().toString() + ": " + e.getMessage());
              }
          }
      }