Persiste l'errore sul JButton.
codice:
ButtonCAD.setFont(new java.awt.Font("Tahoma", 0, 12));
ButtonCAD.setText("CREA LO SCRIPT");
ButtonCAD.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
        ButtonCADActionPerformed(evt); // errore segnalato qui
    }
 });
unreported exception UnsupportedEncodingException; must be caught or declared to be thrown