Alguém sabe me dizer que tipo de erro são esses?

Exception in thread “AWT-EventQueue-0” java.lang.UnsupportedOperationException:
at interfacelocadora.Clientes.setNome(Clientes.java:618)
at interfacelocadora.Clientes.jb_incluirActionPerformed(Clientes.java:310)
at interfacelocadora.Clientes$5.actionPerformed(Clientes.java:116)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

post o codigo!!!

Eu tenho uma classe Clientes a qual eu fiz o formulário utilizando o NetBeans e tenho uma classe Entidades a qual eu coloquei os métodos de criar, excluir, entre outros, mas não consigo fazer as informações digitadas no JTextField serem incluídas no banco de dados.
Vou colocar os dois códigos, se alguém puder ajudar eu agradeço.

package interfacelocadora;

import entidade.Entidades;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;
import javax.persistence.*;

public class Clientes extends javax.swing.JFrame {

/** Creates new form Clientes */
public Clientes() {
initComponents();
}

@SuppressWarnings(“unchecked”)
//
public void initComponents() {

lb_codigo = new javax.swing.JLabel();
id = new javax.swing.JTextField();
lb_cpf = new javax.swing.JLabel();
cpf = new javax.swing.JTextField();
lb_nome = new javax.swing.JLabel();
nome = new javax.swing.JTextField();
lb_end = new javax.swing.JLabel();
endereco = new javax.swing.JTextField();
lb_bairro = new javax.swing.JLabel();
bairro = new javax.swing.JTextField();
lb_cidade = new javax.swing.JLabel();
cidade = new javax.swing.JTextField();
lb_estado = new javax.swing.JLabel();
estado = new javax.swing.JTextField();
lb_nasc = new javax.swing.JLabel();
data_nasc = new javax.swing.JTextField();
lb_cep = new javax.swing.JLabel();
cep = new javax.swing.JTextField();
lb_resid = new javax.swing.JLabel();
telefone = new javax.swing.JTextField();
lb_celular = new javax.swing.JLabel();
celular = new javax.swing.JTextField();
lb_email = new javax.swing.JLabel();
email = new javax.swing.JTextField();
jb_incluir = new javax.swing.JButton();
jb_excluir = new javax.swing.JButton();
jb_alterar = new javax.swing.JButton();
jb_consultar = new javax.swing.JButton();
jb_sair = new javax.swing.JButton();
jb_gravar = new javax.swing.JButton();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle(“Clientes”);
setName(“frame_cliente”); // NOI18N
setResizable(false);

lb_codigo.setText(“Código”);

lb_cpf.setText(“CPF”);

cpf.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cpfActionPerformed(evt);
}
});

lb_nome.setText(“Nome”);

nome.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
nomeActionPerformed(evt);
}
});

lb_end.setText(“Endereço”);

lb_bairro.setText(“Bairro”);

lb_cidade.setText(“Cidade”);

cidade.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cidadeActionPerformed(evt);
}
});

lb_estado.setText(“Estado”);

estado.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
estadoActionPerformed(evt);
}
});

lb_nasc.setText(“Data de Nascimento”);

lb_cep.setText(“CEP”);

lb_resid.setText(“Tel Residencial”);

lb_celular.setText(“Tel Celular”);

lb_email.setText(“E-mail”);

jb_incluir.setIcon(new javax.swing.ImageIcon(“C:\Users\Fabio\Desktop\Projeto_Final\imagens\novo_registro.gif”)); // NOI18N
jb_incluir.setMnemonic(‘i’);
jb_incluir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_incluirActionPerformed(evt);
}
});

jb_excluir.setIcon(new javax.swing.ImageIcon(“C:\Users\Fabio\Desktop\Projeto_Final\imagens\delete.gif”)); // NOI18N
jb_excluir.setMnemonic(‘e’);
jb_excluir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_excluirActionPerformed(evt);
}
});

jb_alterar.setIcon(new javax.swing.ImageIcon(“C:\Users\Fabio\Desktop\Projeto_Final\imagens\alterar_registro.gif”)); // NOI18N
jb_alterar.setMnemonic(‘a’);
jb_alterar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_alterarActionPerformed(evt);
}
});

jb_consultar.setIcon(new javax.swing.ImageIcon(“C:\Users\Fabio\Desktop\Projeto_Final\imagens\localizar.gif”)); // NOI18N
jb_consultar.setMnemonic(‘c’);
jb_consultar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_consultarActionPerformed(evt);
}
});

jb_sair.setIcon(new javax.swing.ImageIcon(“C:\Users\Fabio\Desktop\Projeto_Final\imagens\sair.gif”)); // NOI18N
jb_sair.setMnemonic(‘s’);
jb_sair.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jb_sairActionPerformed(evt);
}
});

jb_gravar.setIcon(new javax.swing.ImageIcon(“C:\Users\Fabio\Desktop\Projeto_Final\imagens\gravar_registro.gif”)); // NOI18N
jb_gravar.setMnemonic(‘g’);

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(lb_codigo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(id, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 1
.addComponent(lb_cpf)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(cpf, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 1
.addComponent(lb_nasc)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(data_nasc, javax.swing.GroupLayout.DEFAULT_SIZE, 104, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addComponent(lb_nome)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(nome, javax.swing.GroupLayout.DEFAULT_SIZE, 450, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addComponent(lb_end)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(endereco, javax.swing.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
.addGap(18, 18, 1
.addComponent(lb_bairro)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(bairro, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(lb_resid)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(telefone, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 1
.addComponent(lb_celular)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(celular, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(lb_email)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(email, javax.swing.GroupLayout.PREFERRED_SIZE, 243, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(jb_incluir)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jb_excluir)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jb_alterar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jb_consultar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jb_gravar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jb_sair))
.addGroup(layout.createSequentialGroup()
.addComponent(lb_cidade)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(cidade, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 1
.addComponent(lb_estado)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(estado, javax.swing.GroupLayout.DEFAULT_SIZE, 123, Short.MAX_VALUE)
.addGap(18, 18, 1
.addComponent(lb_cep)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(cep, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lb_codigo)
.addComponent(id, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lb_cpf)
.addComponent(cpf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lb_nasc)
.addComponent(data_nasc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lb_nome)
.addComponent(nome, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lb_end)
.addComponent(endereco, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(bairro, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lb_bairro))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lb_cidade)
.addComponent(cidade, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(estado, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(cep, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lb_cep)
.addComponent(lb_estado))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lb_resid)
.addComponent(telefone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lb_celular)
.addComponent(celular, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lb_email)
.addComponent(email, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 74, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jb_incluir)
.addComponent(jb_excluir)
.addComponent(jb_alterar)
.addComponent(jb_consultar)
.addComponent(jb_gravar)
.addComponent(jb_sair, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap())
);

pack();
}//

public void jb_consultarActionPerformed(java.awt.event.ActionEvent evt) {
//Entidades e = new Entidades();
//e.BuscaCliente();
}

public void nomeActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

public void cidadeActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

public void estadoActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

public void cpfActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

public void jb_excluirActionPerformed(java.awt.event.ActionEvent evt) {
//Entidades e = new Entidades();
//e.ExcluiCliente();
}

public void jb_alterarActionPerformed(java.awt.event.ActionEvent evt) {
/Entidades e = new Entidades();
e.AlteraCliente();
/
}

public void jb_incluirActionPerformed(java.awt.event.ActionEvent evt) {

setNome(nome.getText());
setCpf (cpf.getText());
setData_nasc(data_nasc.getText());
setEndereco(endereco.getText());
setBairro(bairro.getText());
setCidade(cidade.getText());
setEstado(estado.getText());
setCep(cep.getText());
setTelefone(telefone.getText());
setCelular(celular.getText());
setEmail(email.getText());

Entidades e = new Entidades();
e.CriaCliente();

}

public void jb_sairActionPerformed(java.awt.event.ActionEvent evt) {
System.exit(0);
}

/**

  • @param args the command line arguments
    */
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new Clientes().setVisible(true);
    }
    });
    }
    @Id
    @GeneratedValue (strategy = GenerationType.IDENTITY)
    // Variables declaration - do not modify
    public javax.swing.JTextField bairro;
    public javax.swing.JTextField celular;
    public javax.swing.JTextField cep;
    public javax.swing.JTextField cidade;
    public javax.swing.JTextField cpf;
    public javax.swing.JTextField data_nasc;
    public javax.swing.JTextField email;
    public javax.swing.JTextField endereco;
    public javax.swing.JTextField estado;
    public javax.swing.JTextField id;
    public javax.swing.JButton jb_alterar;
    public javax.swing.JButton jb_consultar;
    public javax.swing.JButton jb_excluir;
    public javax.swing.JButton jb_gravar;
    public javax.swing.JButton jb_incluir;
    public javax.swing.JButton jb_sair;
    public javax.swing.JLabel lb_bairro;
    public javax.swing.JLabel lb_celular;
    public javax.swing.JLabel lb_cep;
    public javax.swing.JLabel lb_cidade;
    public javax.swing.JLabel lb_codigo;
    public javax.swing.JLabel lb_cpf;
    public javax.swing.JLabel lb_email;
    public javax.swing.JLabel lb_end;
    public javax.swing.JLabel lb_estado;
    public javax.swing.JLabel lb_nasc;
    public javax.swing.JLabel lb_nome;
    public javax.swing.JLabel lb_resid;
    public javax.swing.JTextField nome;
    public javax.swing.JTextField telefone;
    // End of variables declaration

public JTextField getBairro() {
return bairro;
}

public void setBairro(JTextField bairro) {
this.bairro = bairro;
}

public JTextField getCelular() {
return celular;
}

public void setCelular(JTextField celular) {
this.celular = celular;
}

public JTextField getCep() {
return cep;
}

public void setCep(JTextField cep) {
this.cep = cep;
}

public JTextField getCidade() {
return cidade;
}

public void setCidade(JTextField cidade) {
this.cidade = cidade;
}

public JTextField getCpf() {
return cpf;
}

public void setCpf(JTextField cpf) {
this.cpf = cpf;
}

public JTextField getData_nasc() {
return data_nasc;
}

public void setData_nasc(JTextField data_nasc) {
this.data_nasc = data_nasc;
}

public JTextField getEmail() {
return email;
}

public void setEmail(JTextField email) {
this.email = email;
}

public JTextField getEndereco() {
return endereco;
}

public void setEndereco(JTextField endereco) {
this.endereco = endereco;
}

public JTextField getEstado() {
return estado;
}

public void setEstado(JTextField estado) {
this.estado = estado;
}

public JTextField getId() {
return id;
}

public void setId(JTextField id) {
this.id = id;
}

public JButton getJb_alterar() {
return jb_alterar;
}

public void setJb_alterar(JButton jb_alterar) {
this.jb_alterar = jb_alterar;
}

public JButton getJb_consultar() {
return jb_consultar;
}

public void setJb_consultar(JButton jb_consultar) {
this.jb_consultar = jb_consultar;
}

public JButton getJb_excluir() {
return jb_excluir;
}

public void setJb_excluir(JButton jb_excluir) {
this.jb_excluir = jb_excluir;
}

public JButton getJb_gravar() {
return jb_gravar;
}

public void setJb_gravar(JButton jb_gravar) {
this.jb_gravar = jb_gravar;
}

public JButton getJb_incluir() {
return jb_incluir;
}

public void setJb_incluir(JButton jb_incluir) {
this.jb_incluir = jb_incluir;
}

public JButton getJb_sair() {
return jb_sair;
}

public void setJb_sair(JButton jb_sair) {
this.jb_sair = jb_sair;
}

public JLabel getLb_bairro() {
return lb_bairro;
}

public void setLb_bairro(JLabel lb_bairro) {
this.lb_bairro = lb_bairro;
}

public JLabel getLb_celular() {
return lb_celular;
}

public void setLb_celular(JLabel lb_celular) {
this.lb_celular = lb_celular;
}

public JLabel getLb_cep() {
return lb_cep;
}

public void setLb_cep(JLabel lb_cep) {
this.lb_cep = lb_cep;
}

public JLabel getLb_cidade() {
return lb_cidade;
}

public void setLb_cidade(JLabel lb_cidade) {
this.lb_cidade = lb_cidade;
}

public JLabel getLb_codigo() {
return lb_codigo;
}

public void setLb_codigo(JLabel lb_codigo) {
this.lb_codigo = lb_codigo;
}

public JLabel getLb_cpf() {
return lb_cpf;
}

public void setLb_cpf(JLabel lb_cpf) {
this.lb_cpf = lb_cpf;
}

public JLabel getLb_email() {
return lb_email;
}

public void setLb_email(JLabel lb_email) {
this.lb_email = lb_email;
}

public JLabel getLb_end() {
return lb_end;
}

public void setLb_end(JLabel lb_end) {
this.lb_end = lb_end;
}

public JLabel getLb_estado() {
return lb_estado;
}

public void setLb_estado(JLabel lb_estado) {
this.lb_estado = lb_estado;
}

public JLabel getLb_nasc() {
return lb_nasc;
}

public void setLb_nasc(JLabel lb_nasc) {
this.lb_nasc = lb_nasc;
}

public JLabel getLb_nome() {
return lb_nome;
}

public void setLb_nome(JLabel lb_nome) {
this.lb_nome = lb_nome;
}

public JLabel getLb_resid() {
return lb_resid;
}

public void setLb_resid(JLabel lb_resid) {
this.lb_resid = lb_resid;
}

public JTextField getNome() {
return nome;
}

public void setNome(JTextField nome) {
this.nome = nome;
}

public JTextField getTelefone() {
return telefone;
}

public void setTelefone(JTextField telefone) {
this.telefone = telefone;
}

public void setNome(String text) {
throw new UnsupportedOperationException("");
}

public void setCpf(String text) {
throw new UnsupportedOperationException("");
}

public void setData_nasc(String text) {
throw new UnsupportedOperationException("");
}

public void setNome() {
throw new UnsupportedOperationException("");
}

public void setCpf() {
throw new UnsupportedOperationException("");
}

public void setData_nasc() {
throw new UnsupportedOperationException("");
}

public void setEndereco() {
throw new UnsupportedOperationException("");
}

public void setBairro() {
throw new UnsupportedOperationException("");
}

public void setCidade() {
throw new UnsupportedOperationException("");
}

public void setEstado() {
throw new UnsupportedOperationException("");
}

public void setCep() {
throw new UnsupportedOperationException("");
}

public void setTelefone() {
throw new UnsupportedOperationException("");
}

public void setCelular() {
throw new UnsupportedOperationException("");
}

public void setEmail() {
throw new UnsupportedOperationException("");
}

public String getClientes() {
throw new UnsupportedOperationException("");
}

public void setEndereco(String text) {
throw new UnsupportedOperationException("");
}

public void setBairro(String text) {
throw new UnsupportedOperationException("");
}

public void setEstado(String text) {
throw new UnsupportedOperationException("");
}

public void setCidade(String text) {
throw new UnsupportedOperationException("");
}

public void setCep(String text) {
throw new UnsupportedOperationException("");
}

public void setTelefone(String text) {
throw new UnsupportedOperationException("");
}

public void setCelular(String text) {
throw new UnsupportedOperationException("");
}

public void setEmail(String text) {
throw new UnsupportedOperationException("");
}

}

package entidade;

import interfacelocadora.;
import java.io.Serializable;
import javax.persistence.
;
import javax.swing.;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;
import javax.persistence.
;
@Entity
public class Entidades implements Serializable {
@Id
private Long id;
public void AlteraCliente(){
EntityManagerFactory emf = Persistence.createEntityManagerFactory(“projetofinal”);
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
Clientes c = em.find(Clientes.class, 1);
if(c != null){
c.setNome();
c.setCpf ();
c.setData_nasc();
c.setEndereco();
c.setBairro();
c.setCidade();
c.setEstado();
c.setCep();
c.setTelefone();
c.setCelular();
c.setEmail();
System.out.println("Cadastro do Cliente alterado: "+ c.getClientes());
}
else{
System.out.println(“Cliente não encontrado”);
}
em.getTransaction().commit();
em.close();
emf.close();
}

public void BuscaCliente(){
EntityManagerFactory emf = Persistence.createEntityManagerFactory(“projetofinal”);
EntityManager em = emf.createEntityManager();

Clientes c = em.find(Clientes.class, 1);
//entidade no estado MANAGED
if(c != null){
System.out.println("CPF: " + c.getCpf());
System.out.println("Nome: "+ c.getNome());
c.setNome();
c.setCpf ();
c.setData_nasc();
c.setEndereco();
c.setBairro();
c.setCidade();
c.setEstado();
c.setCep();
c.setTelefone();
c.setCelular();
c.setEmail();
//Apesar da entidade ser MANAGED,
//a alteração não é gravada no BD
//porque não há transação ativo.
}
else{
System.out.println(“Cliente não encontrado”);
}
em.close();
emf.close();
}
public void CriaCliente(){

EntityManagerFactory emf = Persistence.createEntityManagerFactory(“projetofinal”);
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
Clientes c = new Clientes();
//Entidade no estado NEW

c.setNome(c.getNome());
c.setCpf (c.getCpf());
c.setData_nasc(c.getData_nasc());
c.setEndereco(c.getEndereco());
c.setBairro(c.getBairro());
c.setCidade(c.getCidade());
c.setEstado(c.getEstado());
c.setCep(c.getCep());
c.setTelefone(c.getTelefone());
c.setCelular(c.getCelular());
c.setEmail(c.getEmail());
em.persist©;
//Entidade MANAGED

em.getTransaction().commit();
em.close();
emf.close();

//System.out.println ("Id do cliente persistido: " + c.getJtf_codigo());
}

public void ExcluiCliente(){
EntityManagerFactory emf = Persistence.createEntityManagerFactory(“projetofinal”);
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
Clientes c = em.find(Clientes.class, 2);
//entidade MANAGED
if (c != null){
em.remove ©;
//entidade REMOVED
System.out.println("Cliente removido: "+ c.getNome());
System.out.println("CPF: "+ c.getCpf());
}
else{
System.out.println(“Cliente não encontrado.”);
}
em.getTransaction().commit();
em.close();
emf.close();
}

}

1º de tudo

http://www.guj.com.br/java/50115-voce-e-novo-no-guj-vai-criar-um-topico-e-colar-seu-codigo-fonte-leia-aqui-antes-por-favor

Já verificou o seu StackTrace? Ele diz a linha onde o erro ocorre…

abrxx

PARA VOCE SER MAIS PRECISO COM SEU ERRO. EXECUTE A APLICAÇÃO EM DEBUG E VEJA ONDE ESTA DANDO O ERRO E POST AQUI.