public void iniciacomponentes(){
		lb_login = new JLabel("Login: ");
		lb_senha = new JLabel("Senha: ");
		tx_login = new JTextField(10);
		tx_senha = new JTextField(10);
		bt_login = new JButton("Login");
		bt_sair = new JButton("Sair");
		pn_painelBotoes = new JPanel();
		pn_organizaLogin = new JPanel(new FlowLayout());
		pn_organizaSenha = new JPanel(new FlowLayout());
		pn_principal = new JPanel(new GridLayout(4,2));
		jf_frame = new JFrame();
		bt_login.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				criaUsuarios();
				boolean saida=false;
				for (int i = 0; i < login.length; i++) {
					if((tx_login.getText().equals(login[i]))&&(tx_senha.getText().equals(senha[i]))){
						saida=true;
						break;
					}else{
						saida=false;
					}
				}
				if(saida == true){
					JOptionPane.showMessageDialog(null,"Usuario Correto.");
				}else{
					JOptionPane.showMessageDialog(null,"Usuario Incorreto.");
				}
			}
		});
		bt_sair.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				System.exit(0);
			}
		});
		
		pn_organizaLogin.add(lb_login);
		pn_organizaLogin.add(tx_login);
		pn_principal.add(pn_organizaLogin);
		pn_organizaSenha.add(lb_senha);
		pn_organizaSenha.add(tx_senha);
		pn_principal.add(pn_organizaSenha);
		pn_painelBotoes.add(bt_login);
		pn_painelBotoes.add(bt_sair);
		
		jf_frame.add(pn_painelBotoes, BorderLayout.SOUTH);
		jf_frame.add(pn_principal);
		
		jf_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		jf_frame.setResizable(false);
		jf_frame.setLocationRelativeTo(null);
        jf_frame.setSize(200,200);
        jf_frame.setVisible(true);
        jf_frame.setTitle("Login");
	}