Boa Tarde,
Minha aplicação tem 78 Classes, cada uma representa um tipo de documento que terão índices indexados a uma Base de Dados.
Como faço para chamar uma determinada classe utilizando um JCombobox?
Atualmente eu criei um botão para chamar cada classe mas esteticamente não ficou bacana.
segue a classe que chama as demais classes;
[code]package indexer;
import javax.swing.JOptionPane;
/**
*
-
@author jonas.costa
*/
public class telainicial extends javax.swing.JFrame {/**
-
Creates new form telainicial
*/
public telainicial() {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”)
//
private void initComponents() {jDesktopPane1 = new javax.swing.JDesktopPane();
jButton7 = new javax.swing.JButton();
jButton8 = new javax.swing.JButton();
jButton9 = new javax.swing.JButton();
jButton10 = new javax.swing.JButton();
jButton11 = new javax.swing.JButton();
jButton12 = new javax.swing.JButton();
jButton13 = new javax.swing.JButton();
jButton14 = new javax.swing.JButton();
jButton15 = new javax.swing.JButton();
jButton16 = new javax.swing.JButton();
jButton17 = new javax.swing.JButton();
jButton18 = new javax.swing.JButton();
jButton19 = new javax.swing.JButton();
jButton20 = new javax.swing.JButton();
jButton21 = new javax.swing.JButton();
jButton22 = new javax.swing.JButton();
jButton23 = new javax.swing.JButton();
jButton24 = new javax.swing.JButton();
jButton25 = new javax.swing.JButton();
jButton26 = new javax.swing.JButton();
jButton27 = new javax.swing.JButton();
jButton28 = new javax.swing.JButton();
jButton29 = new javax.swing.JButton();
jButton30 = new javax.swing.JButton();
jButton31 = new javax.swing.JButton();
jButton32 = new javax.swing.JButton();
jButton33 = new javax.swing.JButton();
jButton34 = new javax.swing.JButton();
jButton35 = new javax.swing.JButton();
jButton36 = new javax.swing.JButton();
jButton37 = new javax.swing.JButton();
jButton38 = new javax.swing.JButton();
jButton39 = new javax.swing.JButton();
jButton40 = new javax.swing.JButton();
jButton41 = new javax.swing.JButton();
jButton42 = new javax.swing.JButton();
jButton43 = new javax.swing.JButton();
jButton44 = new javax.swing.JButton();
jButton45 = new javax.swing.JButton();
jButton46 = new javax.swing.JButton();
jButton47 = new javax.swing.JButton();
jButton48 = new javax.swing.JButton();
jButton49 = new javax.swing.JButton();
jButton50 = new javax.swing.JButton();
jButton51 = new javax.swing.JButton();
jButton52 = new javax.swing.JButton();
jButton53 = new javax.swing.JButton();
jButton54 = new javax.swing.JButton();
jButton55 = new javax.swing.JButton();
jButton56 = new javax.swing.JButton();
jButton57 = new javax.swing.JButton();
jButton58 = new javax.swing.JButton();
jButton59 = new javax.swing.JButton();
jButton60 = new javax.swing.JButton();
jButton61 = new javax.swing.JButton();
jButton62 = new javax.swing.JButton();
jButton63 = new javax.swing.JButton();
jButton64 = new javax.swing.JButton();
jButton65 = new javax.swing.JButton();
jButton66 = new javax.swing.JButton();
jButton67 = new javax.swing.JButton();
jButton68 = new javax.swing.JButton();
jButton69 = new javax.swing.JButton();
jButton70 = new javax.swing.JButton();
jButton71 = new javax.swing.JButton();
jButton72 = new javax.swing.JButton();
jButton73 = new javax.swing.JButton();
jButton74 = new javax.swing.JButton();
jButton75 = new javax.swing.JButton();
jButton76 = new javax.swing.JButton();
jButton77 = new javax.swing.JButton();
jButton78 = new javax.swing.JButton();
jButton79 = new javax.swing.JButton();
jButton80 = new javax.swing.JButton();
jButton81 = new javax.swing.JButton();
jButton82 = new javax.swing.JButton();
jButton83 = new javax.swing.JButton();
jButton84 = new javax.swing.JButton();
jButton85 = new javax.swing.JButton();
jButton86 = new javax.swing.JButton();
jButton87 = new javax.swing.JButton();
jButton88 = new javax.swing.JButton();setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle(“Indexer”);jDesktopPane1.setBackground(new java.awt.Color(204, 204, 204));
jButton1.setFont(new java.awt.Font(“Arial”, 1, 10)); // NOI18N
jButton1.setForeground(new java.awt.Color(14, 42, 56));
jButton1.setText(“Dossie Funcional”);
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jButton1.setBounds(20, 30, 250, 23);
jDesktopPane1.add(jButton1, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton2.setFont(new java.awt.Font(“Arial”, 1, 10)); // NOI18N
jButton2.setForeground(new java.awt.Color(14, 42, 56));
jButton2.setText(“Balancete”);
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
jButton2.setBounds(280, 30, 250, 23);
jDesktopPane1.add(jButton2, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton3.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton3.setForeground(new java.awt.Color(14, 42, 56));
jButton3.setText(“Plano de Trabalho”);
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
jButton3.setBounds(20, 60, 250, 23);
jDesktopPane1.add(jButton3, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton4.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton4.setForeground(new java.awt.Color(14, 42, 56));
jButton4.setText(“Telex e Telegrama”);
jButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton4ActionPerformed(evt);
}
});
jButton4.setBounds(280, 60, 250, 23);
jDesktopPane1.add(jButton4, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton5.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton5.setForeground(new java.awt.Color(14, 42, 56));
jButton5.setText(“Oficio”);
jButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton5ActionPerformed(evt);
}
});
jButton5.setBounds(20, 90, 250, 23);
jDesktopPane1.add(jButton5, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton6.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton6.setForeground(new java.awt.Color(14, 42, 56));
jButton6.setText(“Conciliacao Bancaria”);
jButton6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton6ActionPerformed(evt);
}
});
jButton6.setBounds(280, 90, 250, 23);
jDesktopPane1.add(jButton6, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton7.setFont(new java.awt.Font(“Arial”, 1, 10)); // NOI18N
jButton7.setForeground(new java.awt.Color(14, 42, 56));
jButton7.setText(“Relatorio Tecnico”);
jButton7.setBounds(540, 30, 250, 23);
jDesktopPane1.add(jButton7, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton8.setFont(new java.awt.Font(“Arial”, 1, 10)); // NOI18N
jButton8.setForeground(new java.awt.Color(14, 42, 56));
jButton8.setText(“Frequencia Pessoal”);
jButton8.setBounds(800, 30, 250, 23);
jDesktopPane1.add(jButton8, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton9.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton9.setForeground(new java.awt.Color(14, 42, 56));
jButton9.setText(“Acompanhamento de Contrato”);
jButton9.setBounds(540, 60, 250, 23);
jDesktopPane1.add(jButton9, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton10.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton10.setForeground(new java.awt.Color(14, 42, 56));
jButton10.setText(“Processo Judicial”);
jButton10.setBounds(800, 60, 250, 23);
jDesktopPane1.add(jButton10, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton11.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton11.setForeground(new java.awt.Color(14, 42, 56));
jButton11.setText(“Estudos e Pesquisas”);
jButton11.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton11ActionPerformed(evt);
}
});
jButton11.setBounds(540, 90, 250, 23);
jDesktopPane1.add(jButton11, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton12.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton12.setForeground(new java.awt.Color(14, 42, 56));
jButton12.setText(“Aviso de Recebimento dos Correios”);
jButton12.setBounds(800, 90, 250, 23);
jDesktopPane1.add(jButton12, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton13.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton13.setForeground(new java.awt.Color(14, 42, 56));
jButton13.setText(“Hora Extra”);
jButton13.setBounds(20, 120, 250, 23);
jDesktopPane1.add(jButton13, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton14.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton14.setForeground(new java.awt.Color(14, 42, 56));
jButton14.setText(“Contra-Cheques”);
jButton14.setBounds(280, 120, 250, 23);
jDesktopPane1.add(jButton14, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton15.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton15.setForeground(new java.awt.Color(14, 42, 56));
jButton15.setText(“I R R F”);
jButton15.setBounds(540, 120, 250, 23);
jDesktopPane1.add(jButton15, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton16.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton16.setForeground(new java.awt.Color(14, 42, 56));
jButton16.setText(“PIS/PASEP”);
jButton16.setBounds(800, 120, 250, 23);
jDesktopPane1.add(jButton16, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton17.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton17.setText(“Selecao de Estagio”);
jButton17.setBounds(20, 150, 250, 23);
jDesktopPane1.add(jButton17, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton18.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton18.setForeground(new java.awt.Color(14, 42, 56));
jButton18.setText(“Proposta de Licitacao”);
jButton18.setBounds(280, 150, 250, 23);
jDesktopPane1.add(jButton18, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton19.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton19.setForeground(new java.awt.Color(14, 42, 56));
jButton19.setText(“Advertencia/Suspencao”);
jButton19.setBounds(540, 150, 250, 23);
jDesktopPane1.add(jButton19, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton20.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton20.setForeground(new java.awt.Color(14, 42, 56));
jButton20.setText(“Publicacao no Diario Oficial”);
jButton20.setBounds(800, 150, 250, 23);
jDesktopPane1.add(jButton20, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton21.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton21.setForeground(new java.awt.Color(14, 42, 56));
jButton21.setText(“Pensao Alimenticia”);
jButton21.setBounds(20, 180, 250, 23);
jDesktopPane1.add(jButton21, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton22.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton22.setForeground(new java.awt.Color(14, 42, 56));
jButton22.setText(“Vale Transporte/Refeicao”);
jButton22.setBounds(280, 180, 250, 23);
jDesktopPane1.add(jButton22, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton23.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton23.setForeground(new java.awt.Color(14, 42, 56));
jButton23.setText(“Trabalho Tecnico Relevante”);
jButton23.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton23ActionPerformed(evt);
}
});
jButton23.setBounds(540, 180, 250, 23);
jDesktopPane1.add(jButton23, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton24.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton24.setForeground(new java.awt.Color(14, 42, 56));
jButton24.setText(“Reclamacao Trabalhista”);
jButton24.setBounds(800, 180, 250, 23);
jDesktopPane1.add(jButton24, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton25.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton25.setForeground(new java.awt.Color(14, 42, 56));
jButton25.setText(“Comunicacao Interna”);
jButton25.setBounds(20, 210, 250, 23);
jDesktopPane1.add(jButton25, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton26.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton26.setForeground(new java.awt.Color(14, 42, 56));
jButton26.setText(“Autorizacao Expedida”);
jButton26.setBounds(280, 210, 250, 23);
jDesktopPane1.add(jButton26, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton27.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton27.setForeground(new java.awt.Color(14, 42, 56));
jButton27.setText(“Ferias”);
jButton27.setBounds(540, 210, 250, 23);
jDesktopPane1.add(jButton27, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton28.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton28.setForeground(new java.awt.Color(14, 42, 56));
jButton28.setText(“Relacao de Pagamento”);
jButton28.setBounds(800, 210, 250, 23);
jDesktopPane1.add(jButton28, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton29.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton29.setForeground(new java.awt.Color(14, 42, 56));
jButton29.setText(“Relatorio de Atividades”);
jButton29.setBounds(20, 240, 250, 23);
jDesktopPane1.add(jButton29, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton30.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton30.setForeground(new java.awt.Color(14, 42, 56));
jButton30.setText(“Processo Administrativo”);
jButton30.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton30ActionPerformed(evt);
}
});
jButton30.setBounds(280, 240, 250, 23);
jDesktopPane1.add(jButton30, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton31.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton31.setForeground(new java.awt.Color(14, 42, 56));
jButton31.setText(“Livro de Protocolo”);
jButton31.setBounds(540, 240, 250, 23);
jDesktopPane1.add(jButton31, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton32.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton32.setForeground(new java.awt.Color(14, 42, 56));
jButton32.setText(“Audiencia”);
jButton32.setBounds(800, 240, 250, 23);
jDesktopPane1.add(jButton32, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton33.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton33.setForeground(new java.awt.Color(14, 42, 56));
jButton33.setText(“Extrato Bancario”);
jButton33.setBounds(20, 270, 250, 23);
jDesktopPane1.add(jButton33, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton34.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton34.setForeground(new java.awt.Color(14, 42, 56));
jButton34.setText(“Aviso de Debito”);
jButton34.setBounds(280, 270, 250, 23);
jDesktopPane1.add(jButton34, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton35.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton35.setForeground(new java.awt.Color(14, 42, 56));
jButton35.setText(“Dispensa e Inexibilidade de Licitacao”);
jButton35.setBounds(540, 270, 250, 23);
jDesktopPane1.add(jButton35, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton36.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton36.setForeground(new java.awt.Color(14, 42, 56));
jButton36.setText(“Portaria”);
jButton36.setBounds(800, 270, 250, 23);
jDesktopPane1.add(jButton36, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton37.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton37.setForeground(new java.awt.Color(14, 42, 56));
jButton37.setText(“Solicitacao de Parcelas do Projeto Finalistico”);
jButton37.setBounds(20, 300, 250, 23);
jDesktopPane1.add(jButton37, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton38.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton38.setForeground(new java.awt.Color(14, 42, 56));
jButton38.setText(“Protocolo e Intencoes”);
jButton38.setBounds(280, 300, 250, 23);
jDesktopPane1.add(jButton38, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton39.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton39.setForeground(new java.awt.Color(14, 42, 56));
jButton39.setText(“Patrimonio”);
jButton39.setBounds(540, 300, 250, 23);
jDesktopPane1.add(jButton39, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton40.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton40.setForeground(new java.awt.Color(14, 42, 56));
jButton40.setText(“Guia de Lancamento”);
jButton40.setBounds(800, 300, 250, 23);
jDesktopPane1.add(jButton40, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton41.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton41.setForeground(new java.awt.Color(14, 42, 56));
jButton41.setText(“Ficha de Controle de Orcamento”);
jButton41.setBounds(20, 330, 250, 23);
jDesktopPane1.add(jButton41, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton42.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton42.setForeground(new java.awt.Color(14, 42, 56));
jButton42.setText(“R A I S”);
jButton42.setBounds(280, 330, 250, 23);
jDesktopPane1.add(jButton42, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton43.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton43.setForeground(new java.awt.Color(14, 42, 56));
jButton43.setText(“Doacao”);
jButton43.setBounds(540, 330, 250, 23);
jDesktopPane1.add(jButton43, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton44.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton44.setForeground(new java.awt.Color(14, 42, 56));
jButton44.setText(“Termo de Cessao de Uso”);
jButton44.setBounds(800, 330, 250, 23);
jDesktopPane1.add(jButton44, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton45.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton45.setForeground(new java.awt.Color(14, 42, 56));
jButton45.setText(“F G T S”);
jButton45.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton45ActionPerformed(evt);
}
});
jButton45.setBounds(20, 360, 250, 23);
jDesktopPane1.add(jButton45, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton46.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton46.setForeground(new java.awt.Color(14, 42, 56));
jButton46.setText(“Contrato de Locacao de Imovel”);
jButton46.setBounds(280, 360, 250, 23);
jDesktopPane1.add(jButton46, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton47.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton47.setForeground(new java.awt.Color(14, 42, 56));
jButton47.setText(“Extrato de Contrato”);
jButton47.setBounds(540, 360, 250, 23);
jDesktopPane1.add(jButton47, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton48.setFont(new java.awt.Font(“Arial”, 0, 9)); // NOI18N
jButton48.setForeground(new java.awt.Color(14, 42, 56));
jButton48.setText(“Termo de Responssabilidade de Bens Patrimoniais”);
jButton48.setBounds(800, 360, 250, 23);
jDesktopPane1.add(jButton48, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton49.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton49.setForeground(new java.awt.Color(14, 42, 56));
jButton49.setText(“Acordo de Cooperacao Tecnica”);
jButton49.setBounds(20, 390, 250, 23);
jDesktopPane1.add(jButton49, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton50.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton50.setForeground(new java.awt.Color(14, 42, 56));
jButton50.setText(“Guia de Deposito”);
jButton50.setBounds(280, 390, 250, 23);
jDesktopPane1.add(jButton50, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton51.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton51.setForeground(new java.awt.Color(14, 42, 56));
jButton51.setText(“Diaria e Ajuda de Custo”);
jButton51.setBounds(540, 390, 250, 23);
jDesktopPane1.add(jButton51, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton52.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton52.setForeground(new java.awt.Color(14, 42, 56));
jButton52.setText(“Planos Programas e Projetos”);
jButton52.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton52ActionPerformed(evt);
}
});
jButton52.setBounds(800, 390, 250, 23);
jDesktopPane1.add(jButton52, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton53.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton53.setForeground(new java.awt.Color(14, 42, 56));
jButton53.setText(“Autorizacao de Uso de Aeronave”);
jButton53.setBounds(20, 420, 250, 23);
jDesktopPane1.add(jButton53, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton54.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton54.setForeground(new java.awt.Color(14, 42, 56));
jButton54.setText(“Plano Plurianual”);
jButton54.setBounds(280, 420, 250, 23);
jDesktopPane1.add(jButton54, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton55.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton55.setForeground(new java.awt.Color(14, 42, 56));
jButton55.setText(“Autorizacao de Viagem”);
jButton55.setBounds(540, 420, 250, 23);
jDesktopPane1.add(jButton55, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton56.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton56.setForeground(new java.awt.Color(14, 42, 56));
jButton56.setText(“Livro de Ocorrencia”);
jButton56.setBounds(800, 420, 250, 23);
jDesktopPane1.add(jButton56, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton57.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton57.setForeground(new java.awt.Color(14, 42, 56));
jButton57.setText(“Requisicao de Material”);
jButton57.setBounds(20, 450, 250, 23);
jDesktopPane1.add(jButton57, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton58.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton58.setForeground(new java.awt.Color(14, 42, 56));
jButton58.setText(“Nota Fiscal Material Permanente”);
jButton58.setBounds(280, 450, 250, 23);
jDesktopPane1.add(jButton58, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton59.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton59.setForeground(new java.awt.Color(14, 42, 56));
jButton59.setText(“Controle de Uso de Veiculos”);
jButton59.setBounds(540, 450, 250, 23);
jDesktopPane1.add(jButton59, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton60.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton60.setForeground(new java.awt.Color(14, 42, 56));
jButton60.setText(“Fax”);
jButton60.setBounds(800, 450, 250, 23);
jDesktopPane1.add(jButton60, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton61.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton61.setForeground(new java.awt.Color(14, 42, 56));
jButton61.setText(“Carta”);
jButton61.setBounds(20, 480, 250, 23);
jDesktopPane1.add(jButton61, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton62.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton62.setForeground(new java.awt.Color(14, 42, 56));
jButton62.setText(“Plano Trimestral de Diarias e Passagens”);
jButton62.setBounds(280, 480, 250, 23);
jDesktopPane1.add(jButton62, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton63.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton63.setForeground(new java.awt.Color(14, 42, 56));
jButton63.setText(“Convecao Coletiva de Trabalho”);
jButton63.setBounds(540, 480, 250, 23);
jDesktopPane1.add(jButton63, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton64.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton64.setForeground(new java.awt.Color(14, 42, 56));
jButton64.setText(“Contrato de Prestacao de Servicos/Adtivos”);
jButton64.setBounds(800, 480, 250, 23);
jDesktopPane1.add(jButton64, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton65.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton65.setForeground(new java.awt.Color(14, 42, 56));
jButton65.setText(“Movimentacao de Recursos”);
jButton65.setBounds(20, 510, 250, 23);
jDesktopPane1.add(jButton65, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton66.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton66.setForeground(new java.awt.Color(14, 42, 56));
jButton66.setText(“Ata de Reuniao”);
jButton66.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton66ActionPerformed(evt);
}
});
jButton66.setBounds(280, 510, 250, 23);
jDesktopPane1.add(jButton66, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton67.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton67.setForeground(new java.awt.Color(14, 42, 56));
jButton67.setText(“Liberacao de Recursos”);
jButton67.setBounds(540, 510, 250, 23);
jDesktopPane1.add(jButton67, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton68.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton68.setForeground(new java.awt.Color(14, 42, 56));
jButton68.setText(“Resolucao”);
jButton68.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton68ActionPerformed(evt);
}
});
jButton68.setBounds(800, 510, 250, 23);
jDesktopPane1.add(jButton68, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton69.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton69.setForeground(new java.awt.Color(14, 42, 56));
jButton69.setText(“Conciliacao de pagamento e transferencias”);
jButton69.setBounds(20, 540, 250, 23);
jDesktopPane1.add(jButton69, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton70.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton70.setForeground(new java.awt.Color(14, 42, 56));
jButton70.setText(“Convenio”);
jButton70.setBounds(280, 540, 250, 23);
jDesktopPane1.add(jButton70, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton71.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton71.setForeground(new java.awt.Color(14, 42, 56));
jButton71.setText(“Autorizacao de Pagamento”);
jButton71.setBounds(540, 540, 250, 23);
jDesktopPane1.add(jButton71, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton72.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton72.setForeground(new java.awt.Color(14, 42, 56));
jButton72.setText(“Instrucoes e Procedimentos”);
jButton72.setBounds(800, 540, 250, 23);
jDesktopPane1.add(jButton72, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton73.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton73.setForeground(new java.awt.Color(14, 42, 56));
jButton73.setText(“Pre-Empenho”);
jButton73.setBounds(20, 570, 250, 23);
jDesktopPane1.add(jButton73, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton74.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton74.setForeground(new java.awt.Color(14, 42, 56));
jButton74.setText(“Processo de Pessoal”);
jButton74.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton74ActionPerformed(evt);
}
});
jButton74.setBounds(280, 570, 250, 23);
jDesktopPane1.add(jButton74, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton75.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton75.setForeground(new java.awt.Color(14, 42, 56));
jButton75.setText(“Escritura de Compra e Venda”);
jButton75.setBounds(540, 570, 250, 23);
jDesktopPane1.add(jButton75, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton76.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton76.setForeground(new java.awt.Color(14, 42, 56));
jButton76.setText(“Mandado de Seguranca”);
jButton76.setBounds(800, 570, 250, 23);
jDesktopPane1.add(jButton76, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton77.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton77.setForeground(new java.awt.Color(7, 39, 60));
jButton77.setText(“G F I P”);
jButton77.setBounds(20, 600, 250, 23);
jDesktopPane1.add(jButton77, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton78.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton78.setForeground(new java.awt.Color(7, 39, 60));
jButton78.setText(“Ato do Governador”);
jButton78.setBounds(280, 600, 250, 23);
jDesktopPane1.add(jButton78, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton79.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton79.setForeground(new java.awt.Color(7, 39, 60));
jButton79.setText(“Declaracao”);
jButton79.setBounds(540, 600, 250, 23);
jDesktopPane1.add(jButton79, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton80.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton80.setForeground(new java.awt.Color(7, 39, 60));
jButton80.setText(“Discurso Proferido Pelo Governador”);
jButton80.setBounds(800, 600, 250, 23);
jDesktopPane1.add(jButton80, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton81.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton81.setForeground(new java.awt.Color(7, 39, 60));
jButton81.setText(“Pesquisa de Opiniao”);
jButton81.setBounds(20, 630, 250, 23);
jDesktopPane1.add(jButton81, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton82.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton82.setForeground(new java.awt.Color(7, 39, 60));
jButton82.setText(“Eventos”);
jButton82.setBounds(280, 630, 250, 23);
jDesktopPane1.add(jButton82, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton83.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton83.setForeground(new java.awt.Color(7, 39, 60));
jButton83.setText(“Folha de Pagamento”);
jButton83.setBounds(540, 630, 250, 23);
jDesktopPane1.add(jButton83, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton84.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton84.setForeground(new java.awt.Color(7, 39, 60));
jButton84.setText(“Procuracao”);
jButton84.setBounds(800, 630, 250, 23);
jDesktopPane1.add(jButton84, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton85.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton85.setForeground(new java.awt.Color(7, 39, 60));
jButton85.setText(“Orcamento Anual”);
jButton85.setBounds(20, 660, 250, 23);
jDesktopPane1.add(jButton85, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton86.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton86.setForeground(new java.awt.Color(7, 39, 60));
jButton86.setText(“Solicitacao de Fixacao de Extra”);
jButton86.setBounds(280, 660, 250, 23);
jDesktopPane1.add(jButton86, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton87.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton87.setForeground(new java.awt.Color(7, 39, 60));
jButton87.setText(“Imposto Predial e Territorial Urbano”);
jButton87.setBounds(540, 660, 250, 23);
jDesktopPane1.add(jButton87, javax.swing.JLayeredPane.DEFAULT_LAYER);jButton88.setFont(new java.awt.Font(“Arial”, 1, 9)); // NOI18N
jButton88.setForeground(new java.awt.Color(7, 39, 60));
jButton88.setText(“Processo de Pagamento”);
jButton88.setBounds(800, 660, 250, 23);
jDesktopPane1.add(jButton88, javax.swing.JLayeredPane.DEFAULT_LAYER);javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jDesktopPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 1068, javax.swing.GroupLayout.PREFERRED_SIZE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jDesktopPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 701, javax.swing.GroupLayout.PREFERRED_SIZE)
);java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
setBounds((screenSize.width-1084)/2, (screenSize.height-739)/2, 1084, 739);
}//
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JOptionPane.showMessageDialog(this,“INDEXAR DOSSIE FUNCIONAL”);
new Dossie_Funcional().setVisible(true);
}private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JOptionPane.showMessageDialog(this,“INDEXAR BALANCETE”);
new balancete().setVisible(true);
}private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JOptionPane.showMessageDialog(this,“INDEXAR PLANO DE TRABALHO”);
new Planodetrabalho().setVisible(true);
}private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JOptionPane.showMessageDialog(this,“INDEXAR TELEX E TELEGRAMA”);
new telextelegrama().setVisible(true);
}private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JOptionPane.showMessageDialog(this,“INDEXAR OFÍCIO”);
new Oficio().setVisible(true);
}private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JOptionPane.showMessageDialog(this,“INDEXAR CONCILIAÇÃO BANCARIA”);
new Conciliacaobancaria().setVisible(true);
}private void jButton11ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton23ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton30ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton45ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton52ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton66ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton68ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}private void jButton74ActionPerformed(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
/
//
/ - 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(telainicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(telainicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(telainicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(telainicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//
/*
-
Create and display the form
*/
java.awt.EventQueue.invokeLater(new Runnable() {public void run() {
new telainicial().setVisible(true);
}
});
}
// Variables declaration - do not modify
public static final javax.swing.JButton jButton1 = new javax.swing.JButton();
private javax.swing.JButton jButton10;
private javax.swing.JButton jButton11;
private javax.swing.JButton jButton12;
private javax.swing.JButton jButton13;
private javax.swing.JButton jButton14;
private javax.swing.JButton jButton15;
private javax.swing.JButton jButton16;
private javax.swing.JButton jButton17;
private javax.swing.JButton jButton18;
private javax.swing.JButton jButton19;
public static final javax.swing.JButton jButton2 = new javax.swing.JButton();
private javax.swing.JButton jButton20;
private javax.swing.JButton jButton21;
private javax.swing.JButton jButton22;
private javax.swing.JButton jButton23;
private javax.swing.JButton jButton24;
private javax.swing.JButton jButton25;
private javax.swing.JButton jButton26;
private javax.swing.JButton jButton27;
private javax.swing.JButton jButton28;
private javax.swing.JButton jButton29;
public static final javax.swing.JButton jButton3 = new javax.swing.JButton();
private javax.swing.JButton jButton30;
private javax.swing.JButton jButton31;
private javax.swing.JButton jButton32;
private javax.swing.JButton jButton33;
private javax.swing.JButton jButton34;
private javax.swing.JButton jButton35;
private javax.swing.JButton jButton36;
private javax.swing.JButton jButton37;
private javax.swing.JButton jButton38;
private javax.swing.JButton jButton39;
public static final javax.swing.JButton jButton4 = new javax.swing.JButton();
private javax.swing.JButton jButton40;
private javax.swing.JButton jButton41;
private javax.swing.JButton jButton42;
private javax.swing.JButton jButton43;
private javax.swing.JButton jButton44;
private javax.swing.JButton jButton45;
private javax.swing.JButton jButton46;
private javax.swing.JButton jButton47;
private javax.swing.JButton jButton48;
private javax.swing.JButton jButton49;
public static final javax.swing.JButton jButton5 = new javax.swing.JButton();
private javax.swing.JButton jButton50;
private javax.swing.JButton jButton51;
private javax.swing.JButton jButton52;
private javax.swing.JButton jButton53;
private javax.swing.JButton jButton54;
private javax.swing.JButton jButton55;
private javax.swing.JButton jButton56;
private javax.swing.JButton jButton57;
private javax.swing.JButton jButton58;
private javax.swing.JButton jButton59;
public static final javax.swing.JButton jButton6 = new javax.swing.JButton();
private javax.swing.JButton jButton60;
private javax.swing.JButton jButton61;
private javax.swing.JButton jButton62;
private javax.swing.JButton jButton63;
private javax.swing.JButton jButton64;
private javax.swing.JButton jButton65;
private javax.swing.JButton jButton66;
private javax.swing.JButton jButton67;
private javax.swing.JButton jButton68;
private javax.swing.JButton jButton69;
private javax.swing.JButton jButton7;
private javax.swing.JButton jButton70;
private javax.swing.JButton jButton71;
private javax.swing.JButton jButton72;
private javax.swing.JButton jButton73;
private javax.swing.JButton jButton74;
private javax.swing.JButton jButton75;
private javax.swing.JButton jButton76;
private javax.swing.JButton jButton77;
private javax.swing.JButton jButton78;
private javax.swing.JButton jButton79;
private javax.swing.JButton jButton8;
private javax.swing.JButton jButton80;
private javax.swing.JButton jButton81;
private javax.swing.JButton jButton82;
private javax.swing.JButton jButton83;
private javax.swing.JButton jButton84;
private javax.swing.JButton jButton85;
private javax.swing.JButton jButton86;
private javax.swing.JButton jButton87;
private javax.swing.JButton jButton88;
private javax.swing.JButton jButton9;
private javax.swing.JDesktopPane jDesktopPane1;
// End of variables declaration
}[/code]
- Set the Nimbus look and feel
-