code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* TrocaSenha.java
*
* Created on 04/11/2011, 21:53:23
*/
package sisgraf.view;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
import java.util.logging.Logger;
import sisgraf.cont... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* EsqueciSenha.java
*
* Created on 09/03/2011, 11:18:43
*/
package sisgraf.view;
/**
*
* @author jordan
*/
public class EsqueciSenha extends javax.swing.JDialog {
/** Creates new form EsqueciSenha */
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Login.java
*
* Created on 09/03/2011, 09:41:28
*/
package sisgraf.view;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
i... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Cores.java
*
* Created on 30/03/2011, 01:10:12
*/
package sisgraf.view;
import sisgraf.controler.CorControler;
import sisgraf.controler.CorTabela;
import sisgraf.model.Cor;
/**
*
* @author Jordan Guerra
*/
p... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.text.SimpleDateFormat;
import java.util.Date;
import sisgraf.controler.PedidoControler;
import sisgraf.controler.PedidoTa... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
/**
*
* @author jordan
*/
public class Principal extends javax.swing.JDialog {
/** Creates new form Principal */
public ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import sisgraf.controler.PerfilControler;
import sisgraf.controler.PerfilTabela;
import sisgraf.model.Perfil;
/**
*
* @author jorda... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import com.itextpdf.text.DocumentException;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.math.BigDe... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Funcoes.java
*
* Created on 19/04/2011, 22:40:24
*/
package sisgraf.view;
import sisgraf.controler.FuncaoControler;
import sisgraf.controler.FuncaoTabela;
import sisgraf.model.Funcao;
/**
*
* @author POSITI... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
/**
*
* @author jordan
*/
public class InclusaoOrcamentos extends javax.swing.JDialog {
/** Creates new form Principal *... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import com.itextpdf.text.DocumentException;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.math.BigDec... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import ja... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import com.itextpdf.text.DocumentException;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.math.BigDec... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.util.Calendar;
import java.util.GregorianCalendar;
import sisgraf.backup.BackupDeDados;
/**
*
* @author jordan
*/
pu... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import sisgraf.controler.ItemOrcamentoControler;
import sisgraf.controler.ServicoItemOrcamentoControler;
import sisgraf.controler.Se... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.util.List;
import sisgraf.model.Perfil;
import sisgraf.controler.PerfilControler;
/**
*
* @author jordan
*/
public cla... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
/**
*
* @author jordan
*/
public class InclusaoUsuarios extends javax.swing.JDialog {
/** Creates new form Principal */
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
/**
*
* @author jordan
*/
public class InclusaoPerfis extends javax.swing.JDialog {
/** Creates new form Principal */
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.math.BigDecimal;
import sisgraf.controler.ServicoItemOrcamentoControler;
import sisgraf.model.Material;
import sisgraf.m... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Menu.java
*
* Created on 07/03/2011, 20:20:53
*/
package sisgraf.view;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.InputMismatchException;
import sisgraf.model.Perfil;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Clientes.java
*
* Created on 11/09/2011, 16:10:29
*/
package sisgraf.view;
import java.util.List;
import sisgraf.model.Cliente;
import sisgraf.controler.ClienteControler;
/**
*
* @author POSITIVO R41
*/
p... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.math.BigDecimal;
import sisgraf.model.Pedido;
import sisgraf.controler.PedidoControler;
/**
*
* @author jordan
*/
pub... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PesquisaMaterial.java
*
* Created on 09/03/2011, 13:09:29
*/
package sisgraf.view;
import sisgraf.controler.MaterialControler;
import sisgraf.controler.MaterialTabela;
import sisgraf.model.Estoque;
import sisg... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
/**
*
* @author jordan
*/
public class InclusaoClientes extends javax.swing.JDialog {
/** Creates new form Principal */
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
import java.util.logging.Logger;
import sisgraf.contro... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Orcamentos.java
*
* Created on 18/09/2011, 22:05:13
*/
package sisgraf.view;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.u... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import com.itextpdf.text.DocumentException;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.math.BigDec... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import sisgraf.controler.ClienteControler;
import sisgraf.controler.ClienteTabela;
import sisgraf.model.Cliente;
/**
*
* @author j... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import com.itextpdf.text.DocumentException;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayL... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Unidades.java
*
* Created on 22/03/2011, 18:35:23
*/
package sisgraf.view;
import sisgraf.controler.UnidadeControler;
import sisgraf.controler.UnidadeTabela;
import sisgraf.model.Unidade;
/**
*
* @author Jo... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PesquisaOrcamentos.java
*
* Created on 13/09/2011, 09:28:53
*/
package sisgraf.view;
import com.itextpdf.text.DocumentException;
import java.io.IOException;
import java.net.MalformedURLException;
import sisgra... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Principal.java
*
* Created on 08/03/2011, 09:06:07
*/
package sisgraf.view;
import sisgraf.impressao.Imprimir;
import java.util.ArrayList;
import java.util.List;
import javax.swing.DefaultComboBoxModel;
impor... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Vndedores.java
*
* Created on 10/04/2011, 11:04:10
*/
package sisgraf.view;
import java.util.List;
import sisgraf.model.Vendedor;
import sisgraf.controler.VendedorControler;
import sisgraf.model.Usuario;
/**
*... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Pedido;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface PedidoDao {
public boolean save(Pedido pedido);
public boolean update(Pe... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Cliente;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @aut... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Perfil;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @autho... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Acesso;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @autho... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Cliente;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface ClienteDao {
public boolean save(Cliente cliente);
public boolean updat... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Material;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @aut... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.ItemOrcamento;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
import si... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Funcao;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface FuncaoDao {
public boolean save(Funcao funcao);
public boolean update(Fun... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Vendedor;
import java.util.List;
/**
*
* @author Jordan de Carvalhor Guerra
*/
public interface VendedorDao {
public boolean save(Vendedor vendedor);
public boolean ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Funcao;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @autho... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Acesso;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface AcessoDao {
public boolean save(Acesso acesso);
public boolean update(Ac... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.ServicoItemOrcamento;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface ServicoItemOrcamentoDao {
public boolean save(ServicoItemOrcam... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Perfil;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface PerfilDao {
public boolean save(Perfil pefil);
public boolean update(Perf... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.ServicoItemOrcamento;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/*... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import com.mysql.jdbc.CommunicationsException;
import sisgraf.model.Unidade;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Lo... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Vendedor;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @aut... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Cor;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @author jo... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Usuario;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @auth... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Cor;
import java.util.List;
/**
*
* @author jordan
*/
public interface CorDao {
public boolean save(Cor cor);
public boolean update(Cor cor);
public Cor getCor(in... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Orcamento;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface OrcamentoDao {
public boolean save(Orcamento orcamento);
public boole... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Material;
import java.util.List;
/**
*
* @author Jordan Guerra
*/
public interface MaterialDao {
public boolean save(Material material);
public boolean update(Materi... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Modulo;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @autho... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Usuario;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface UsuarioDao {
public boolean save(Usuario usuario);
public boolean updat... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Orcamento;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @au... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.ItemOrcamento;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface ItemOrcamentoDao {
public boolean save(ItemOrcamento itemOrcamento);
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Pedido;
import sisgraf.util.HibernateUtil;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
*
* @auth... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Modulo;
import java.util.List;
/**
*
* @author Jordan de Carvalho Guerra
*/
public interface ModuloDao {
public boolean save(Modulo modulo);
public boolean update(Mod... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.dao;
import sisgraf.model.Unidade;
import java.util.List;
/**
*
* @author jordan
*/
public interface UnidadeDao {
public boolean save(Unidade unidade);
public boolean update(Unidade unidade);
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.util;
import java.math.BigDecimal;
import sisgraf.model.Unidade;
import sisgraf.model.Cor;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import or... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.util;
import com.mysql.jdbc.CommunicationsException;
import java.sql.SQLRecoverableException;
import org.hibernate.HibernateException;
import sisgraf.model.Unidade;
import sisgraf.model.Cor;
import sisgra... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.Iter... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashSet;
import java.util.Ite... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.S... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.RoundingMode;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
imp... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Iterator;
import java.util.Set;
/**
*
* @author POSITIVO R41
*/
public class Requisicao {
private String material;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import javax.persistence.Entity;
/**
*
* @author Jordan de Carvalho Guerra
*/
@Entity
public class FichaCliente implements Serializable {
private static fina... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.File;
import java.io.FileOutputStream;
/**
*
* @author POSITIVO R41
*/
public class FolhaPagamento {
private String evento;
private String matricula;
private String ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.File;
import java.io.FileOutputStream;
/**
*
* @author POSITIVO R41
*/
public class Faturamento {
private String cpf;
private String nome;
private String rua;
p... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
imp... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import javax.persistence.Entity;
import javax.persistence.GeneratedVal... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.model;
import java.io.Serializable;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import javax.persistence.Entity;
import javax.persisten... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sisgraf.impressao;
import com.itextpdf.text.BadElementException;
import com.itextpdf.text.BaseColor;
import com.itextpdf.text.DocumentException;
import java.io.FileNotFoundException;
import java.io.FileOutputStr... | Java |
package sisgraf.impressao;
import javax.print.*;
import javax.swing.JOptionPane;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.ArrayList;
// Essa classe é a responsavel pela impressao. Ela detecta a impressora
// instalada, recebe o texto e o imprime.
public final cl... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Administrador
*/
public class PrimeiroPDF {
}
| Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ${name}.java
*
* Created on 08/03/2011, 09:06:07
*/
<#if package?? && package != "">
package ${package};
</#if>
/**
*
* @author ${user}
*/
public class ${name} extends Principal {
/** Creates new form... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* InclusaoMaterial.java
*
* Created on 04/03/2011, 13:54:19
*/
package sisgraf;
/**
*
* @author Administrador
*/
public class InclusaoMaterial extends javax.swing.JDialog
{
public InclusaoMaterial(java.... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* EsqueciSenha.java
*
* Created on 05/03/2011, 17:38:55
*/
package sisgraf;
/**
*
* @author jordan
*/
public class EsqueciSenha extends javax.swing.JDialog {
/** Creates new form EsqueciSenha */
pub... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Login.java
*
* Created on 05/03/2011, 10:55:35
*/
package sisgraf;
/**
*
* @author jordan
*/
public class Login extends javax.swing.JDialog {
/** Creates new form Login */
public Login(java.awt.Fra... | Java |
/*
* SisgrafView.java
*/
package sisgraf;
import org.jdesktop.application.Action;
import org.jdesktop.application.ResourceMap;
import org.jdesktop.application.SingleFrameApplication;
import org.jdesktop.application.FrameView;
import org.jdesktop.application.TaskMonitor;
import java.awt.event.ActionEvent;
import jav... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* InclusaoDeClientes.java
*
* Created on 04/03/2011, 14:48:48
*/
package sisgraf;
/**
*
* @author Administrador
*/
public class InclusaoDeClientes extends javax.swing.JDialog{
public InclusaoDeClientes(java... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* IncluiPerfis.java
*
* Created on 07/03/2011, 11:04:14
*/
package sisgraf;
/**
*
* @author Administrador
*/
public class IncluiPerfis extends javax.swing.JDialog {
/** Creates new form IncluiPerfis */
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* MenuPrincipal.java
*
* Created on 04/03/2011, 13:22:26
*/
package sisgraf;
/**
*
* @author Administrador
*/
public class MenuPrincipal extends javax.swing.JFrame {
/** Creates new form MenuPrincipal *... | Java |
/*
* SisgrafAboutBox.java
*/
package sisgraf;
import org.jdesktop.application.Action;
public class SisgrafAboutBox extends javax.swing.JDialog {
public SisgrafAboutBox(java.awt.Frame parent) {
super(parent);
initComponents();
getRootPane().setDefaultButton(closeButton);
}
@Act... | Java |
/*
* SisgrafApp.java
*/
package sisgraf;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;
/**
* The main class of the application.
*/
public class SisgrafApp extends SingleFrameApplication {
/**
* At startup create and show the main frame of the appli... | Java |
/*
* Copyright Mark McAvoy - www.bitethebullet.co.uk 2009
*
* This file is part of Android Token.
*
* Android Token is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java |
package uk.co.bitethebullet.android.token;
///////////////////////////////////////
//this is not used!!
//////////////////////////////////////
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.view.View;
public c... | Java |
/*
* Copyright Mark McAvoy - www.bitethebullet.co.uk 2009
*
* This file is part of Android Token.
*
* Android Token is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java |
package uk.co.bitethebullet.android.token;
public class TokenMetaData implements ITokenMeta {
public static final int HOTP_TOKEN = 0;
public static final int TOTP_TOKEN = 1;
String tokenName;
int tokenType;
String secretBase32;
int digits;
int timeStep;
int counter;
public TokenMetaData(Str... | Java |
/*
* Copyright Mark McAvoy - www.bitethebullet.co.uk 2009
*
* This file is part of Android Token.
*
* Android Token is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java |
/*
* Copyright Mark McAvoy - www.bitethebullet.co.uk 2009
*
* This file is part of Android Token.
*
* Android Token is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java |
/*
* Copyright Mark McAvoy - www.bitethebullet.co.uk 2011
*
* This file is part of Android Token.
*
* Android Token is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java |
/**
* <p>Encodes and decodes to and from Base64 notation.</p>
* <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p>
*
* <p>Example:</p>
*
* <code>String encoded = Base64.encode( myByteArray );</code>
* <br />
* <code>byte[] myByteArray = Base64.decode( encoded );</code>
*
* <... | Java |
package uk.co.bitethebullet.android.token.util;
import java.util.ArrayList;
public class Base32 {
private static final String DEF_ENCODING_TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
private static final char DEF_PADDING = '=';
private String eTable; //Encoding table
private char padding;
... | Java |
/*
* Copyright Mark McAvoy - www.bitethebullet.co.uk 2009
*
* This file is part of Android Token.
*
* Android Token is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.