Como fazer Para um JFrame Chamar Outra classe que abra um JinternalFrame

package Interface;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;


public class Principal extends JFrame {  
   
    public Principal () {  
    super ("Principal");  
    initComponents();
    
    } 
    /*
    desktop = new JDesktopPane();
    createFrame(); //Create first window
    setContentPane(desktop);

    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);

    protected void createFrame() {
    MyInternalFrame frame = new MyInternalFrame();
    frame.setVisible(true);
    desktop.add(frame);
    try {
        frame.setSelected(true);
    } catch (java.beans.PropertyVetoException e) {}
}
  */
    private void initComponents() {
    	JMenuBar menuBar = new JMenuBar();
    	JMenu arquivo = new javax.swing.JMenu("Arquivo");
    	JMenuItem sair = new javax.swing.JMenuItem("Sair");
    	sair.addActionListener(new ActionListener(){  
    		public void actionPerformed(ActionEvent evt){  
    		System.exit(0);  
    		}  
    	});
    	
    	JMenu cadastro = new javax.swing.JMenu("Cadastro");
    	JMenuItem cliente = new javax.swing.JMenuItem("Cliente");
    	cliente.addActionListener(new ActionListener() {
    		public void actionPerformed(ActionEvent arg0) {
				
				
			}
		});
		
    	this.setJMenuBar(menuBar);
    	menuBar.add(arquivo);
    	arquivo.add(sair);
    	menuBar.add(cadastro);
    	cadastro.add(cliente);
    	  	            
    }
            
	public static void main (String [] args) {  
    	Principal janela = new Principal ();
        janela.setExtendedState(JFrame.MAXIMIZED_BOTH);
        janela.setVisible(true);
        
	
	}
	
}      

dai eu ia criar o novo jinternalframe

package Interface;

public class JanelaCadastroCliente {

}

Olá amigo

segue uma exemplo:


import java.beans.PropertyChangeListener;
import java.sql.SQLException;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.beans.PropertyVetoException;
import java.sql.Connection;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.AbstractAction;
import javax.swing.JFrame;


public class FramePrincipal extends JFrame implements ActionListener{

    private MDIDesktopPane desktop = new MDIDesktopPane();
//    private JMenuBar menuBar = new JMenuBar();
    private JMenu fileMenu = new JMenu("File");
    private JMenuItem newMenu = new JMenuItem("New");
    private JScrollPane scrollPane = new JScrollPane();
    public JToolBar toolBar;
    private AbstractAction actionNew;
    private AbstractAction actionOpen;
    private AbstractAction actionSave;
    private AbstractAction actionExit;
    private AbstractAction actionPatrimonio;
    private AbstractAction actionBaixas;
    public int getHeight;
    public Boolean telaClientes = false;
    public int larguraBotao = 100;
    public int alturaBotao = 50;
    public static final String FontNames[] = {"Serif", "SansSerif", "Courier"};
    protected Font fonts[];
    protected JMenuItem[] fontMenus;
    protected JCheckBoxMenuItem boldMenu = new JCheckBoxMenuItem("Bold");
    protected JCheckBoxMenuItem italicMenu = new JCheckBoxMenuItem("Italic");
    static ImageIcon sairButtonIcon = createImageIcon("resources/exit24.png");
    ImageIcon patrimonioButtonIcon = createImageIcon("resources/kontact_contacts.png");
    ImageIcon baixasButtonIcon = createImageIcon("resources/systemsettings.png");
    ImageIcon sobreButtonIcon = createImageIcon("resources/stockhelp.png");
    static FramePatrimonio framePatrimonio;
    static FrameBaixas frameBaixas;
    public JLabel LabelDataHora;
    public JLabel LabelUsuario;
    static JMenuBar menu;
    public JMenuBar menuBar;

    public Connection dbConnection = null;

    public FramePrincipal() throws ClassNotFoundException, SQLException {
//        menuBar.add(fileMenu);
        super("Comap - Sistema da Comap V. 1.0");

        this.dbConnection = bd.ConexaoBancoDados.getInstance().conexao();

        javax.swing.UIManager.put("OptionPane.yesButtonText", "Sim");
        javax.swing.UIManager.put("OptionPane.noButtonText", "Não");
        javax.swing.UIManager.put("OptionPane.okButtonText", "Ok");
        javax.swing.UIManager.put("OptionPane.cancelButtonText", "Cancelar");

        fonts = new Font[FontNames.length];
        for (int i = 0; i < FontNames.length; i++) {
            fonts[i] = new Font(FontNames[i], Font.PLAIN, 12);
        }

        int inset = 50;
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        getHeight = screenSize.height;
        setBounds(inset, inset,
                screenSize.width - inset * 2,
                screenSize.height - inset * 2);
        menuBar = createMenuBar();
        menuBar.add(new WindowMenu(desktop));
//        fileMenu.add(newMenu);
        setJMenuBar(menuBar);
        //setTitle("MDI Test");
        scrollPane.getViewport().add(desktop);
        getContentPane().setLayout(new BorderLayout());
        getContentPane().add(scrollPane, BorderLayout.CENTER);
        getContentPane().add(toolBar, BorderLayout.NORTH);


        JLabel LabelUsuario = new JLabel();
        JLabel LabelDataHora = new JLabel();

        LabelUsuario.setText("Usuário:                Data: ");
        LabelUsuario.setBounds(110, 01, 10, 30);
        LabelDataHora.setText("Data: ");
        LabelDataHora.setBounds(200, 01, 280, 30);

        StatusBar statusBar = new StatusBar();
        statusBar.add(LabelUsuario);
        getContentPane().add(statusBar, BorderLayout.SOUTH);


        getContentPane().add(desktop);

        addWindowListener(new WindowAdapter() {

            public void windowClosing(WindowEvent e) {
                quit();
            }
        });
        newMenu.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                desktop.add(new TextFrame());
            }
        });
        desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
        FramePrincipal.setDefaultLookAndFeelDecorated(true);
        LookAndFeelInfo[] lafs = (LookAndFeelInfo[]) UIManager.getInstalledLookAndFeels();

        desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);

        this.setVisible(true);
        this.implementarTeclado();
        this.setExtendedState(MAXIMIZED_BOTH);     
    }

    public static void main(String[] args) throws InterruptedException, ClassNotFoundException, SQLException {
        createAndShowGUI();

    }

    public static ImageIcon createImageIcon(String path) {
        java.net.URL imgURL = FrameModelo.class.getResource(path);
        if (imgURL != null) {
            return new ImageIcon(imgURL);
        } else {
            System.err.println("Couldn't find file: " + path);
            return null;
        }
    }

    protected JMenuBar createMenuBar() {
        final JMenuBar menuBar = new JMenuBar();

        JMenu assistencia = new JMenu("Patrimônio");
        assistencia.setMnemonic('P');

        //ImageIcon iconNew = new ImageIcon(clienteButtonIcon);

//        JMenu menu = new JMenu("Assistência");
//        menu.setMnemonic(KeyEvent.VK_A);
//        menu.setMnemonic('A');

        actionPatrimonio = new AbstractAction("Patrimonio ", patrimonioButtonIcon) {

            public void actionPerformed(ActionEvent e) {
                acaoBotoes(e);
            }
        };

//        JMenuItem item = assistencia.add(actionClientes);
        JMenuItem item = new JMenuItem("Patrimônio");
        item.setMnemonic(KeyEvent.VK_A);
        item.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_A, ActionEvent.ALT_MASK));
        item.setActionCommand("patrimonio");
        item.setIcon(patrimonioButtonIcon);
        item.addActionListener(this);
        assistencia.add(item);

//        JMenuItem item = assistencia.add(actionClientes);

        actionBaixas = new AbstractAction("Baixas ", baixasButtonIcon) {

            public void actionPerformed(ActionEvent e) {
                acaoBotoes(e);
            }
        };

        item = new JMenuItem("Baixas");
        item.setMnemonic(KeyEvent.VK_A);
        item.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_A, ActionEvent.ALT_MASK));
        item.setActionCommand("baixas");
        item.setIcon(patrimonioButtonIcon);
        item.addActionListener(this);
        assistencia.add(item);


        assistencia.addSeparator();

        actionExit = new AbstractAction("Sair", sairButtonIcon) {

            public void actionPerformed(ActionEvent e) {
                acaoBotoes(e);
            }
        };

//        item = assistencia.add(actionExit);
        item = new JMenuItem("Sair");
        item.setMnemonic(KeyEvent.VK_F4);
        item.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_F4, ActionEvent.ALT_MASK));
        item.setActionCommand("sair");
        item.setIcon(sairButtonIcon);
        item.addActionListener(this);

        item.setMnemonic('S');
        assistencia.add(item);

        menuBar.add(assistencia);

        toolBar = new JToolBar();

        JButton btn1 = toolBar.add(actionPatrimonio);
        btn1.setToolTipText("Cadastro de Patrimônio");
        btn1.setActionCommand("patrimonio");
        btn1.setIcon(patrimonioButtonIcon);
        btn1.setText("F2-Patrimônio");
        btn1.setPreferredSize(new Dimension(50, 50));
        btn1.setMaximumSize(new Dimension(larguraBotao, alturaBotao));

        JButton btn2 = toolBar.add(actionBaixas);
        btn2.setToolTipText("Baixas");
        btn2.setIcon(baixasButtonIcon);
        btn2.setActionCommand("baixas");
        btn2.setText("F3-Baixas   ");
        btn2.setPreferredSize(new Dimension(50, 50));
        btn2.setMaximumSize(new Dimension(larguraBotao, alturaBotao));

        getContentPane().add(toolBar, BorderLayout.NORTH);


        ActionListener fontListener = new ActionListener() {

            public void actionPerformed(ActionEvent e) {
                //    updateMonitor();
            }
        };

        JMenu mFont = new JMenu("Font");
        mFont.setMnemonic('o');

        ButtonGroup group = new ButtonGroup();
        fontMenus = new JMenuItem[FontNames.length];
        for (int k = 0; k < FontNames.length; k++) {
            int m = k + 1;
            fontMenus[k] = new JRadioButtonMenuItem(m + " " + FontNames[k]);
            boolean selected = (k == 0);
            fontMenus[k].setSelected(selected);
            fontMenus[k].setMnemonic('1' + k);
            fontMenus[k].setFont(fonts[k]);
            fontMenus[k].addActionListener(fontListener);
            group.add(fontMenus[k]);
            mFont.add(fontMenus[k]);
        }

        mFont.addSeparator();

        boldMenu.setMnemonic('b');
        Font fn = fonts[1].deriveFont(Font.BOLD);
        boldMenu.setFont(fn);
        boldMenu.setSelected(false);
        boldMenu.addActionListener(fontListener);
        mFont.add(boldMenu);

        italicMenu.setMnemonic('i');
        fn = fonts[1].deriveFont(Font.ITALIC);
        italicMenu.setFont(fn);
        italicMenu.setSelected(false);
        italicMenu.addActionListener(fontListener);
        mFont.add(italicMenu);

        menuBar.add(mFont);

        getContentPane().add(toolBar, BorderLayout.NORTH);

        return menuBar;
    }


    public void acaoBotoes(ActionEvent e) {
        if ("patrimonio".equals(e.getActionCommand())) { //new
            try {
                //new
                createFramePatrimonio();
            } catch (Exception ex) {
                Logger.getLogger(FramePrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        if ("baixas".equals(e.getActionCommand())) { //new
            try {
                //new
                createFrameBaixas();
            } catch (Exception ex) {
                Logger.getLogger(FramePrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        if ("sair".equals(e.getActionCommand())) { //new
            int i = JOptionPane.showOptionDialog(null, "Tem certeza que deseja sair?", "Sair do Sistema", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, JOptionPane.NO_OPTION);
            if (i == JOptionPane.YES_OPTION) {
                quit();
            }
        }

    }

    protected void createFramePatrimonio() throws PropertyVetoException, Exception {
        menu = menuBar;
        if (framePatrimonio == null) {
            framePatrimonio = new FramePatrimonio(this.dbConnection);
            framePatrimonio.setVisible(true); //necessary as of 1.3
            desktop.add(framePatrimonio);
            framePatrimonio.pack();
            desktop.getDesktopManager().maximizeFrame(framePatrimonio);
        } else {
            framePatrimonio.setVisible(true);
        }
        try {
            framePatrimonio.setSelected(true);
        } catch (java.beans.PropertyVetoException e) {
        }
        
    }

     protected void createFrameBaixas() throws PropertyVetoException, Exception {
        menu = menuBar;
        if (frameBaixas == null) {
            frameBaixas = new FrameBaixas(this.dbConnection);
            frameBaixas.setVisible(true); //necessary as of 1.3
            desktop.add(frameBaixas);
            frameBaixas.pack();
            desktop.getDesktopManager().maximizeFrame(frameBaixas);
        } else {
            frameBaixas.setVisible(true);
        }
        try {
            frameBaixas.setSelected(true);
        } catch (java.beans.PropertyVetoException e) {
        }
        
    }



    protected void quit() {
        int i = JOptionPane.showOptionDialog(null, "Tem certeza que deseja sair?", "Sair do Sistema", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, JOptionPane.NO_OPTION);
        if (i == JOptionPane.YES_OPTION) {
            System.exit(0);
        }
    }

    private static void createAndShowGUI() throws InterruptedException, ClassNotFoundException, SQLException {
        //Make sure we have nice window decorations.

        JFrame.setDefaultLookAndFeelDecorated(true);

        //Create and set up the window.
        FramePrincipal frameprincipal = new FramePrincipal();
        frameprincipal.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);

        //Display the window.
        frameprincipal.setVisible(true);
        frameprincipal.setExtendedState(MAXIMIZED_BOTH);
    }

    public void implementarTeclado() {

        JPanel contentPane = (JPanel)this.getContentPane();
        InputMap inputMap = contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
        ActionMap actionMap = contentPane.getActionMap();
        
        inputMap.put(KeyStroke.getKeyStroke("F1"),"F1String");
        actionMap.put("F1String", new AbstractAction(){

            public void actionPerformed(ActionEvent arg0) {
                F1();
            }
            
        });

        inputMap.put(KeyStroke.getKeyStroke("F2"),"F2String");
        actionMap.put("F2String", new AbstractAction(){

            public void actionPerformed(ActionEvent arg0) {
                try{
                    F2();
                }catch(Exception e){
                    avisaException(e);
                }
            }
        });

        inputMap.put(KeyStroke.getKeyStroke("F3"),"F3String");
        actionMap.put("F3String", new AbstractAction(){

            public void actionPerformed(ActionEvent arg0) {
                try{
                    F3();
                }catch(Exception e){
                    avisaException(e);
                }
            }
        });        
    }

    public void avisaException(Exception e){
        JOptionPane.showMessageDialog(null, e.getMessage());
        this.setVisible(true);
        this.setFocusable(true);;
    }

    public void F1() {
        JOptionPane.showMessageDialog(null, "Olha o PROMPT!");
        this.setVisible(true);
        this.setFocusable(true);;
    }

    public void F2() throws PropertyVetoException, Exception {
        createFramePatrimonio();
    }

    public void F3() throws PropertyVetoException, Exception {
        createFrameBaixas();
    }


    /*public void listenKeyboard(Component[] cs) {
        for (Component c : cs) {
            c.addKeyListener(this);
        }
    }*/

    public void keyPressed(KeyEvent e) {
        if (e.getKeyCode() == KeyEvent.VK_F1) {
            F1();
        }
        if (e.getKeyCode() == KeyEvent.VK_F2) {
            try {
                F2();
            } catch (PropertyVetoException ex) {
                Logger.getLogger(FramePrincipal.class.getName()).log(Level.SEVERE, null, ex);
            } catch (Exception ex) {
                Logger.getLogger(FramePrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        if (e.getKeyCode() == KeyEvent.VK_F3) {
            try {
                F3();
            } catch (PropertyVetoException ex) {
                Logger.getLogger(FramePrincipal.class.getName()).log(Level.SEVERE, null, ex);
            } catch (Exception ex) {
                Logger.getLogger(FramePrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }

    public void keyReleased(KeyEvent e) {
    }

    public void keyTyped(KeyEvent e) {
    }

    public void actionPerformed(ActionEvent e) {
        if ("patrimonio".equals(e.getActionCommand())) { //new
            acaoBotoes(e);
        }

        if ("baixas".equals(e.getActionCommand())) { //new
            acaoBotoes(e);
        }

        if ("sair".equals(e.getActionCommand())) { //new
           quit();
        }
        
}

}

http://www.java2s.com/Code/Java/Swing-JFC/InternalFramesDemo.htm

Boa sorte

Silvio

mas assim tipo da parte que esta

JMenuItem cliente = new javax.swing.JMenuItem("Cliente");
    	cliente.addActionListener(new ActionListener() {
    		public void actionPerformed(ActionEvent arg0) {
				
				
			}
		});

e queria que chamasse a tela da minha outra classe

package Interface;

public class JanelaCadastroCliente extends javax.swing.JPanel {

    
    public JanelaCadastroCliente() {
        initComponents();
    }

    private void initComponents() {

        TelaCadastro = new javax.swing.JPanel();
        Codigo = new javax.swing.JLabel();
        Nome = new javax.swing.JLabel();
        Dtnasc = new javax.swing.JLabel();
        Cpf = new javax.swing.JLabel();
        Doc_id = new javax.swing.JLabel();
        Rua = new javax.swing.JLabel();
        Bairro = new javax.swing.JLabel();
        Cidade = new javax.swing.JLabel();
        Telfix = new javax.swing.JLabel();
        Telcel = new javax.swing.JLabel();
        jTextField5 = new javax.swing.JTextField();
        jTextField6 = new javax.swing.JTextField();
        jTextField7 = new javax.swing.JTextField();
        jTextField8 = new javax.swing.JTextField();
        jTextField9 = new javax.swing.JTextField();
        jTextField10 = new javax.swing.JTextField();
        jTextField11 = new javax.swing.JTextField();
        jTextField12 = new javax.swing.JTextField();
        jTextField13 = new javax.swing.JTextField();
        jFormattedTextField1 = new javax.swing.JFormattedTextField();

        Codigo.setText("Código:");
        Nome.setText("Nome:");
        Dtnasc.setText("Data de Nascimento:");
        Cpf.setText("CPF:");
        Doc_id.setText("ID:");
        Rua.setText("Rua:");
        Bairro.setText("Bairro");
        Cidade.setText("Cidade:");
        Telfix.setText("Telefone Fixo:");
        Telcel.setText("Telefone Celular");

        jTextField5.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jTextField6.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jTextField7.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jTextField8.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jTextField9.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jTextField10.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jTextField10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField10ActionPerformed(evt);
            }
        });

        jTextField11.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N

        jTextField12.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N

        jTextField13.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(TelaCadastro);
        TelaCadastro.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(Telfix)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField9, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(Telcel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField11, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(Rua)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField6, javax.swing.GroupLayout.DEFAULT_SIZE, 221, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(Cidade)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 207, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(Nome)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextField7, javax.swing.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(Bairro)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextField12, javax.swing.GroupLayout.DEFAULT_SIZE, 221, Short.MAX_VALUE))
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                            .addComponent(Codigo)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jTextField10, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(20, 20, 20)
                            .addComponent(Dtnasc)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jFormattedTextField1))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                            .addComponent(Cpf)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(Doc_id)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jTextField13, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(21, 21, 21)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Codigo)
                    .addComponent(Dtnasc)
                    .addComponent(jTextField10, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jFormattedTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Nome)
                    .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Cpf)
                    .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Doc_id)
                    .addComponent(jTextField13, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(6, 6, 6)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Rua)
                    .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Bairro)
                    .addComponent(jTextField12, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Cidade)
                    .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Telfix)
                    .addComponent(jTextField9, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Telcel)
                    .addComponent(jTextField11, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(25, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(TelaCadastro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(270, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(TelaCadastro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(118, Short.MAX_VALUE))
        );
    }

private void jTextField10ActionPerformed(java.awt.event.ActionEvent evt) {

}

    private javax.swing.JFormattedTextField jFormattedTextField1;
    private javax.swing.JLabel Codigo;
    private javax.swing.JLabel Nome;
    private javax.swing.JLabel Dtnasc;
    private javax.swing.JLabel Cpf;
    private javax.swing.JLabel Doc_id;
    private javax.swing.JLabel Rua;
    private javax.swing.JLabel Bairro;
    private javax.swing.JLabel Cidade;
    private javax.swing.JLabel Telfix;
    private javax.swing.JLabel Telcel;
    private javax.swing.JPanel TelaCadastro;
    private javax.swing.JTextField jTextField10;
    private javax.swing.JTextField jTextField11;
    private javax.swing.JTextField jTextField12;
    private javax.swing.JTextField jTextField13;
    private javax.swing.JTextField jTextField5;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JTextField jTextField7;
    private javax.swing.JTextField jTextField8;
    private javax.swing.JTextField jTextField9;

}