private void btnOpenLogoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnOpenLogoActionPerformed
        JFileChooser fl = new JFileChooser("C:/");
        fl.setMultiSelectionEnabled(false);
        fl.showOpenDialog(null);
        if (fl.getSelectedFile() != null) {
            txtLogo.setText(fl.getSelectedFile().getAbsolutePath());
            ImageIcon imagem = new ImageIcon(txtLogo.getText());
            @SuppressWarnings("UnusedAssignment")
            ImageIcon thumbnail = null;
            if (imagem.getIconWidth() > lblLogo.getWidth()) {
                thumbnail = new ImageIcon(
                        imagem.getImage().getScaledInstance(lblLogo.getWidth(), lblLogo.getHeight(), Image.SCALE_DEFAULT));
            } else {
                thumbnail = imagem;
            }
            lblLogo.setIcon(thumbnail);
        }
    }//GEN-LAST:event_btnOpenLogoActionPerformed