Bom dia a todos, a algum tempo acompanho o forum, mas sempre como leitor e consulta para meus problemas, mas desta vez não teve jeito mesmo e vou ter que começar a postar para procurar boas praticas de programação java e resolver duvidas que eu tenho.
Estou usando o metodo de inserção no banco de dado por statement não sei se é a melhor forma mas é a que eu mais me dei bem ate agora, se tiver outra forma mais eficas sempre sou sujeito a alterações e melhorias. Meu aplicativo esta dividido da seguinte forma em MVC DAO, Factory, GUI e Modelo.
DAO = aonde fica tudo que executa
Factory = A parte de conexão com o banco
GUI = Telas
Modelo = Variaiveis
Minhas duvidas são : Como faço Busca Alteração e Exclusão com um banco de dados no meu caso MySQL
segue abaixo os codes que uso.
Factory
package factory;
import java.sql.*;
public class ConnectionFactory {
public Connection getConnection() {
try {
return DriverManager.getConnection("jdbc:mysql://localhost/baseteste", "root", "root");
} catch (SQLException excecao) {
throw new RuntimeException(excecao);
}
}
}
FichasDAO
package dao;
import factory.ConnectionFactory;
import java.sql.*;
import modelo.cadastroFichas;
public class FichasDAO {
private Connection connection;
public FichasDAO() {
this.connection = new ConnectionFactory().getConnection();
}
public void adiciona(cadastroFichas fichas) throws SQLException {
String sql;
sql = "INSERT INTO dadosfichas(campoFicha,campoVersao,campoFichaCpj,campoCentroCusto,campoNumeroProcesso,campoEscritorio,campoAdvogadoResponsavel,campoAutor,campoReu,campoMateria,campoDataEntrega,campoValorCalculo,campoVistaPrazo,campoPorcentagem,campoExpectativa,campoNotaRecibo,campoNumero,campoValorRecebido,campoDataRecebimento,campoObservacao) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
try {
try (PreparedStatement stmt = connection.prepareStatement(sql)) {
stmt.setString(1, fichas.getCampoFicha());
stmt.setString(2, fichas.getCampoVersao());
stmt.setString(3, fichas.getCampoFichaCpj());
stmt.setString(4, fichas.getCampoCentroCusto());
stmt.setString(5, fichas.getCampoNumeroProcesso());
stmt.setString(6, fichas.getCampoEscritorio());
stmt.setString(7, fichas.getCampoAdvogadoResponsavel());
stmt.setString(8, fichas.getCampoAutor());
stmt.setString(9, fichas.getCampoReu());
stmt.setString(10, fichas.getCampoMateria());
stmt.setString(11, fichas.getCampoDataEntrega());
stmt.setString(12, fichas.getCampoValorCalculo());
stmt.setString(13, fichas.getCampoVistaPrazo());
stmt.setString(14, fichas.getCampoPorcentagem());
stmt.setString(15, fichas.getCampoExpectativa());
stmt.setString(16, fichas.getCampoNotaRecibo());
stmt.setString(17, fichas.getCampoNumero());
stmt.setString(18, fichas.getCampoValorRecebido());
stmt.setString(19, fichas.getCampoDataRecebimento());
stmt.setString(20, fichas.getCampoObservacao());
stmt.execute();
stmt.close();
}
} catch (SQLException u) {
throw new RuntimeException(u);
}
}
public void atualiza (cadastroFichas fichas) throws SQLException {
String sql;
sql = "UPDATE dadosfichas SET campoExpectativa = campoExpectativa.getText(), campoNotaRecibo = campoNotaRecibo.getText() , campoNumero = campoNumero.getText(), campoValorRecebido = campoValorRecebido.getText(), campoDataRecebimento.getText()";
} catch (SQLException u) {
throw new RuntimeException(u);
}
}
}
GUI
package gui;
import dao.FichasDAO;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import modelo.cadastroFichas;
public class FichaGUI extends javax.swing.JFrame {
/**
* Creates new form FichaGUI
*/
public FichaGUI() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
cadastrar = new javax.swing.JButton();
ficha = new javax.swing.JLabel();
campoFicha = new javax.swing.JTextField();
versao = new javax.swing.JLabel();
campoVersao = new javax.swing.JTextField();
centroCusto = new javax.swing.JLabel();
campoCentroCusto = new javax.swing.JTextField();
campoNumeroProcesso = new javax.swing.JTextField();
numeroProcesso = new javax.swing.JLabel();
escritorio = new javax.swing.JLabel();
campoEscritorio = new javax.swing.JTextField();
campoAdvogadoResponsavel = new javax.swing.JTextField();
advogadoResponsavel = new javax.swing.JLabel();
autor = new javax.swing.JLabel();
campoAutor = new javax.swing.JTextField();
reu = new javax.swing.JLabel();
campoReu = new javax.swing.JTextField();
materia = new javax.swing.JLabel();
campoMateria = new javax.swing.JTextField();
dataEntrega = new javax.swing.JLabel();
campoDataEntrega = new javax.swing.JTextField();
valorCalculo = new javax.swing.JLabel();
campoValorCalculo = new javax.swing.JTextField();
prazoVista = new javax.swing.JLabel();
campoExpectativa = new javax.swing.JTextField();
expecativa = new javax.swing.JLabel();
campoPorcentagem = new javax.swing.JTextField();
porcentagem = new javax.swing.JLabel();
separadorCusto = new javax.swing.JSeparator();
Custo = new javax.swing.JLabel();
cadastroFicha = new javax.swing.JLabel();
separadorCadastro = new javax.swing.JSeparator();
fichaCpf = new javax.swing.JLabel();
campoFichaCpj = new javax.swing.JTextField();
observacoes = new javax.swing.JLabel();
campoVistaPrazo = new javax.swing.JTextField();
campoObservacao = new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setBackground(new java.awt.Color(255, 255, 255));
cadastrar.setText("Cadastrar");
cadastrar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cadastrarActionPerformed(evt);
}
});
ficha.setText("Ficha : ");
versao.setText("Versão :");
centroCusto.setText("Centro de Custo :");
campoCentroCusto.setEditable(false);
campoCentroCusto.setBackground(new java.awt.Color(255, 255, 255));
numeroProcesso.setText("Numero do Processo :");
escritorio.setText("Escritorio : ");
advogadoResponsavel.setText("Advogado Responsavel:");
autor.setText("Autor :");
reu.setText("Réu :");
materia.setText("Matéria :");
dataEntrega.setText("Data Entrega : ");
valorCalculo.setText("Valor Calculo :");
prazoVista.setText("Forma de Pagamento");
expecativa.setText("Expectativa :");
porcentagem.setText("Porcentagem :");
Custo.setText("Custo");
cadastroFicha.setText("Cadastro De Ficha");
fichaCpf.setText("Ficha CPJ :");
observacoes.setText("Observações :");
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)
.addComponent(campoObservacao)
.addComponent(separadorCadastro)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(cadastrar))
.addGroup(layout.createSequentialGroup()
.addComponent(escritorio)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoEscritorio))
.addGroup(layout.createSequentialGroup()
.addComponent(advogadoResponsavel)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoAdvogadoResponsavel))
.addGroup(layout.createSequentialGroup()
.addComponent(autor)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoAutor))
.addGroup(layout.createSequentialGroup()
.addComponent(reu)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(campoReu))
.addGroup(layout.createSequentialGroup()
.addComponent(materia)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoMateria, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(dataEntrega)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoDataEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(numeroProcesso)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoNumeroProcesso))
.addGroup(layout.createSequentialGroup()
.addComponent(valorCalculo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoValorCalculo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(prazoVista)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoVistaPrazo, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(porcentagem)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoPorcentagem, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(expecativa)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(campoExpectativa))
.addComponent(separadorCusto)
.addGroup(layout.createSequentialGroup()
.addComponent(cadastroFicha)
.addGap(101, 101, 101)
.addComponent(centroCusto)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoCentroCusto))
.addGroup(layout.createSequentialGroup()
.addComponent(ficha)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoFicha, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(versao)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoVersao, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(fichaCpf)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoFichaCpj))
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(Custo)
.addComponent(observacoes))
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(5, 5, 5)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(cadastroFicha)
.addComponent(centroCusto)
.addComponent(campoCentroCusto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(3, 3, 3)
.addComponent(separadorCadastro, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(ficha)
.addComponent(campoFicha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(versao)
.addComponent(campoVersao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(fichaCpf)
.addComponent(campoFichaCpj, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(numeroProcesso)
.addComponent(campoNumeroProcesso, 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(escritorio)
.addComponent(campoEscritorio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(advogadoResponsavel)
.addComponent(campoAdvogadoResponsavel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(autor)
.addComponent(campoAutor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(reu)
.addComponent(campoReu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(campoDataEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(dataEntrega)
.addComponent(materia)
.addComponent(campoMateria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(observacoes)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoObservacao, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE)
.addGap(18, 18, 18)
.addComponent(Custo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(separadorCusto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(valorCalculo)
.addComponent(campoValorCalculo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(prazoVista)
.addComponent(campoVistaPrazo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(porcentagem)
.addComponent(campoPorcentagem, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(expecativa)
.addComponent(campoExpectativa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(148, 148, 148)
.addComponent(cadastrar)
.addContainerGap())
);
pack();
}// </editor-fold>
private void cadastrarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
cadastroFichas fichas = new cadastroFichas();
fichas.setCampoFicha(campoFicha.getText());
fichas.setCampoVersao(campoVersao.getText());
fichas.setCampoFichaCpj(campoFichaCpj.getText());
fichas.setCampoCentroCusto(campoCentroCusto.getText());
fichas.setCampoNumeroProcesso(campoNumeroProcesso.getText());
fichas.setCampoEscritorio(campoEscritorio.getText());
fichas.setCampoAdvogadoResponsavel(campoAdvogadoResponsavel.getText());
fichas.setCampoAutor(campoAutor.getText());
fichas.setCampoReu(campoReu.getText());
fichas.setCampoMateria(campoMateria.getText());
fichas.setCampoDataEntrega(campoDataEntrega.getText());
fichas.setCampoValorCalculo(campoValorCalculo.getText());
fichas.setCampoVistaPrazo(campoVistaPrazo.getText());
fichas.setCampoPorcentagem(campoPorcentagem.getText());
fichas.setCampoExpectativa(campoExpectativa.getText());
fichas.setCampoObservacao(campoObservacao.getText());
if ((campoFicha.getText().isEmpty()) || (campoVersao.getText().isEmpty()) || (campoNumeroProcesso.getText().isEmpty()) || (campoEscritorio.getText().isEmpty()) || (campoAdvogadoResponsavel.getText().isEmpty()) || (campoAutor.getText().isEmpty()) || (campoReu.getText().isEmpty()) || (campoMateria.getText().isEmpty()) || (campoDataEntrega.getText().isEmpty()) || (campoValorCalculo.getText().isEmpty()) || (campoVistaPrazo.getText().isEmpty())) {
JOptionPane.showMessageDialog(null, "Os campos não podem retornar vazios");
} else {
FichasDAO dao = new FichasDAO();
try {
dao.adiciona(fichas);
} catch (SQLException ex) {
Logger.getLogger(FichaGUI.class.getName()).log(Level.SEVERE, null, ex);
}
JOptionPane.showMessageDialog(null, "Fichas " + campoFicha.getText() + " inserido com sucesso! ");
}
campoFicha.setText("");
campoVersao.setText("");
campoFichaCpj.setText("");
campoCentroCusto.setText("");
campoNumeroProcesso.setText("");
campoEscritorio.setText("");
campoAdvogadoResponsavel.setText("");
campoAutor.setText("");
campoReu.setText("");
campoMateria.setText("");
campoDataEntrega.setText("");
campoValorCalculo.setText("");
campoVistaPrazo.setText("");
campoPorcentagem.setText("");
campoExpectativa.setText("");
campoObservacao.setText("");
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(FichaGUI.class
.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(FichaGUI.class
.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(FichaGUI.class
.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(FichaGUI.class
.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
new FichaGUI().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JLabel Custo;
private javax.swing.JLabel advogadoResponsavel;
private javax.swing.JLabel autor;
private javax.swing.JButton cadastrar;
private javax.swing.JLabel cadastroFicha;
private javax.swing.JTextField campoAdvogadoResponsavel;
private javax.swing.JTextField campoAutor;
private javax.swing.JTextField campoCentroCusto;
private javax.swing.JTextField campoDataEntrega;
private javax.swing.JTextField campoEscritorio;
private javax.swing.JTextField campoExpectativa;
private javax.swing.JTextField campoFicha;
private javax.swing.JTextField campoFichaCpj;
private javax.swing.JTextField campoMateria;
private javax.swing.JTextField campoNumeroProcesso;
private javax.swing.JTextField campoObservacao;
private javax.swing.JTextField campoPorcentagem;
private javax.swing.JTextField campoReu;
private javax.swing.JTextField campoValorCalculo;
private javax.swing.JTextField campoVersao;
private javax.swing.JTextField campoVistaPrazo;
private javax.swing.JLabel centroCusto;
private javax.swing.JLabel dataEntrega;
private javax.swing.JLabel escritorio;
private javax.swing.JLabel expecativa;
private javax.swing.JLabel ficha;
private javax.swing.JLabel fichaCpf;
private javax.swing.JLabel materia;
private javax.swing.JLabel numeroProcesso;
private javax.swing.JLabel observacoes;
private javax.swing.JLabel porcentagem;
private javax.swing.JLabel prazoVista;
private javax.swing.JLabel reu;
private javax.swing.JSeparator separadorCadastro;
private javax.swing.JSeparator separadorCusto;
private javax.swing.JLabel valorCalculo;
private javax.swing.JLabel versao;
// End of variables declaration
}
E aonde ficaria a minha busca pelas fichas
package gui;
public class BuscaFichaGUI extends javax.swing.JFrame {
public BuscaFichaGUI() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
Buscar = new javax.swing.JButton();
Excluir = new javax.swing.JButton();
Alterar = new javax.swing.JButton();
ficha = new javax.swing.JLabel();
campoFicha = new javax.swing.JTextField();
versao = new javax.swing.JLabel();
campoVersao = new javax.swing.JTextField();
centroCusto = new javax.swing.JLabel();
campoCentroCusto = new javax.swing.JTextField();
campoNumeroProcesso = new javax.swing.JTextField();
numeroProcesso = new javax.swing.JLabel();
escritorio = new javax.swing.JLabel();
campoEscritorio = new javax.swing.JTextField();
campoAdvogadoResponsavel = new javax.swing.JTextField();
advogadoResponsavel = new javax.swing.JLabel();
autor = new javax.swing.JLabel();
campoAutor = new javax.swing.JTextField();
reu = new javax.swing.JLabel();
campoReu = new javax.swing.JTextField();
materia = new javax.swing.JLabel();
campoMateria = new javax.swing.JTextField();
dataEntrega = new javax.swing.JLabel();
campoDataEntrega = new javax.swing.JTextField();
valorCalculo = new javax.swing.JLabel();
campoValorCalculo = new javax.swing.JTextField();
prazoVista = new javax.swing.JLabel();
campoExpectativa = new javax.swing.JTextField();
expecativa = new javax.swing.JLabel();
campoPorcentagem = new javax.swing.JTextField();
porcentagem = new javax.swing.JLabel();
numero = new javax.swing.JLabel();
campoNumero = new javax.swing.JTextField();
valorRecebido = new javax.swing.JLabel();
campoValorRecebido = new javax.swing.JTextField();
dataRecebimento = new javax.swing.JLabel();
campoDataRecebimento = new javax.swing.JTextField();
separadorPagamento = new javax.swing.JSeparator();
pagamento = new javax.swing.JLabel();
separadorCusto = new javax.swing.JSeparator();
Custo = new javax.swing.JLabel();
cadastroFicha = new javax.swing.JLabel();
separadorCadastro = new javax.swing.JSeparator();
fichaCpf = new javax.swing.JLabel();
campoFichaCpj = new javax.swing.JTextField();
observacoes = new javax.swing.JLabel();
campoVistaPrazo = new javax.swing.JTextField();
notaFiscalRecibo = new javax.swing.JLabel();
campoNotaFiscalRecibo = new javax.swing.JTextField();
campoObservacao = new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
Buscar.setText("Buscar");
Buscar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
BuscarActionPerformed(evt);
}
});
Excluir.setText("Excluir");
Alterar.setText("Alterar");
Alterar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
AlterarActionPerformed(evt);
}
});
ficha.setText("Ficha : ");
versao.setText("Versão :");
centroCusto.setText("Centro de Custo :");
campoCentroCusto.setEditable(false);
campoCentroCusto.setBackground(new java.awt.Color(255, 255, 255));
numeroProcesso.setText("Numero do Processo :");
escritorio.setText("Escritorio : ");
advogadoResponsavel.setText("Advogado Responsavel:");
autor.setText("Autor :");
reu.setText("Réu :");
materia.setText("Matéria :");
dataEntrega.setText("Data Entrega : ");
valorCalculo.setText("Valor Calculo :");
prazoVista.setText("Forma de Pagamento");
expecativa.setText("Expectativa :");
porcentagem.setText("Porcentagem :");
numero.setText("Numero :");
valorRecebido.setText("Valor Recebido :");
dataRecebimento.setText("Data Recebimento :");
pagamento.setText("Pagamento");
Custo.setText("Custo");
cadastroFicha.setText("Busca De Ficha");
fichaCpf.setText("Ficha CPJ :");
observacoes.setText("Observações :");
notaFiscalRecibo.setText("Nota Fisca ou Recibo : ");
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()
.addGap(0, 174, Short.MAX_VALUE)
.addComponent(Alterar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Excluir)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(Buscar))
.addGroup(layout.createSequentialGroup()
.addComponent(valorCalculo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoValorCalculo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(prazoVista)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoVistaPrazo, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(porcentagem)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoPorcentagem, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(expecativa)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(campoExpectativa))
.addComponent(separadorCusto)
.addComponent(separadorPagamento)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(Custo)
.addComponent(pagamento)
.addGroup(layout.createSequentialGroup()
.addComponent(notaFiscalRecibo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoNotaFiscalRecibo, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(numero)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoNumero, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(valorRecebido)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoValorRecebido, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(dataRecebimento)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoDataRecebimento, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(campoObservacao)
.addComponent(separadorCadastro)
.addGroup(layout.createSequentialGroup()
.addComponent(escritorio)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoEscritorio))
.addGroup(layout.createSequentialGroup()
.addComponent(advogadoResponsavel)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoAdvogadoResponsavel))
.addGroup(layout.createSequentialGroup()
.addComponent(autor)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoAutor))
.addGroup(layout.createSequentialGroup()
.addComponent(reu)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(campoReu))
.addGroup(layout.createSequentialGroup()
.addComponent(materia)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoMateria, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(dataEntrega)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoDataEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(numeroProcesso)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoNumeroProcesso))
.addGroup(layout.createSequentialGroup()
.addComponent(cadastroFicha)
.addGap(101, 101, 101)
.addComponent(centroCusto)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoCentroCusto))
.addGroup(layout.createSequentialGroup()
.addComponent(ficha)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoFicha, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(versao)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoVersao, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(fichaCpf)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoFichaCpj))
.addGroup(layout.createSequentialGroup()
.addComponent(observacoes)
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap()))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap(389, Short.MAX_VALUE)
.addComponent(Custo)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(separadorCusto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(valorCalculo)
.addComponent(campoValorCalculo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(prazoVista)
.addComponent(campoVistaPrazo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(porcentagem)
.addComponent(campoPorcentagem, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(expecativa)
.addComponent(campoExpectativa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addComponent(pagamento)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(separadorPagamento, javax.swing.GroupLayout.PREFERRED_SIZE, 3, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(notaFiscalRecibo)
.addComponent(campoNotaFiscalRecibo, 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(numero)
.addComponent(campoNumero, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(valorRecebido)
.addComponent(campoValorRecebido, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(dataRecebimento)
.addComponent(campoDataRecebimento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(26, 26, 26)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(Buscar)
.addComponent(Excluir)
.addComponent(Alterar))
.addContainerGap())
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(cadastroFicha)
.addComponent(centroCusto)
.addComponent(campoCentroCusto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(3, 3, 3)
.addComponent(separadorCadastro, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(ficha)
.addComponent(campoFicha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(versao)
.addComponent(campoVersao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(fichaCpf)
.addComponent(campoFichaCpj, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(numeroProcesso)
.addComponent(campoNumeroProcesso, 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(escritorio)
.addComponent(campoEscritorio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(advogadoResponsavel)
.addComponent(campoAdvogadoResponsavel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(autor)
.addComponent(campoAutor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(reu)
.addComponent(campoReu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(campoDataEntrega, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(dataEntrega)
.addComponent(materia)
.addComponent(campoMateria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(observacoes)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(campoObservacao, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(328, Short.MAX_VALUE)))
);
pack();
}// </editor-fold>
private void BuscarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
private void AlterarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(BuscaFichaGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(BuscaFichaGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(BuscaFichaGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(BuscaFichaGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
new BuscaFichaGUI().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton Alterar;
private javax.swing.JButton Buscar;
private javax.swing.JLabel Custo;
private javax.swing.JButton Excluir;
private javax.swing.JLabel advogadoResponsavel;
private javax.swing.JLabel autor;
private javax.swing.JLabel cadastroFicha;
private javax.swing.JTextField campoAdvogadoResponsavel;
private javax.swing.JTextField campoAutor;
private javax.swing.JTextField campoCentroCusto;
private javax.swing.JTextField campoDataEntrega;
private javax.swing.JTextField campoDataRecebimento;
private javax.swing.JTextField campoEscritorio;
private javax.swing.JTextField campoExpectativa;
private javax.swing.JTextField campoFicha;
private javax.swing.JTextField campoFichaCpj;
private javax.swing.JTextField campoMateria;
private javax.swing.JTextField campoNotaFiscalRecibo;
private javax.swing.JTextField campoNumero;
private javax.swing.JTextField campoNumeroProcesso;
private javax.swing.JTextField campoObservacao;
private javax.swing.JTextField campoPorcentagem;
private javax.swing.JTextField campoReu;
private javax.swing.JTextField campoValorCalculo;
private javax.swing.JTextField campoValorRecebido;
private javax.swing.JTextField campoVersao;
private javax.swing.JTextField campoVistaPrazo;
private javax.swing.JLabel centroCusto;
private javax.swing.JLabel dataEntrega;
private javax.swing.JLabel dataRecebimento;
private javax.swing.JLabel escritorio;
private javax.swing.JLabel expecativa;
private javax.swing.JLabel ficha;
private javax.swing.JLabel fichaCpf;
private javax.swing.JLabel materia;
private javax.swing.JLabel notaFiscalRecibo;
private javax.swing.JLabel numero;
private javax.swing.JLabel numeroProcesso;
private javax.swing.JLabel observacoes;
private javax.swing.JLabel pagamento;
private javax.swing.JLabel porcentagem;
private javax.swing.JLabel prazoVista;
private javax.swing.JLabel reu;
private javax.swing.JSeparator separadorCadastro;
private javax.swing.JSeparator separadorCusto;
private javax.swing.JSeparator separadorPagamento;
private javax.swing.JLabel valorCalculo;
private javax.swing.JLabel valorRecebido;
private javax.swing.JLabel versao;
// End of variables declaration
}
Muito obrigado pela atenção e desculpa se ja tinha aberto um topico referente as minhas duvidas procurei porém não achei.
