[code]public void TelaCons () {
	txtCodCli = new JTextField();
	lblCodCli = new JLabel("Codigo do Cliente");
	BtnCons = new  JButton("Pesquisa"); 
	BtnCons.setBounds(350,10,100,25);
	JFrame TelaPes = new JFrame();
	TelaPes.setTitle("PESQUISA");
	TelaPes.setSize(500,500);
	TelaPes.setLayout(null);
	TelaPes.setResizable(false);
	TelaPes.setLocationRelativeTo(null);
	lblCodCli.setBounds(20,10,100,25);
	txtCodCli.setBounds(130,10,200,25);
	txtaobs = new JTextArea();
	txtaobs.setBounds(20,150, 450, 300);
	TelaPes.add(lblCodCli);
	TelaPes.add(txtCodCli);
	TelaPes.add(BtnCons);
	TelaPes.add(txtaobs);
}
@Override
public void actionPerformed(ActionEvent e) {
	Operacoes Oper = new Operacoes();
	if ( e.getSource().equals(btncadastrar))
	{
		Oper.Cadastro(this);
	}
	else if (e.getSource().equals(btnpesquisar))
	{
		TelaCons();
	}
	else if (e.getSource().equals(BtnCons))	
	{  
		Oper.Consultar(this);
	}
}
[/code]