private void painelConsultarVenda() {

		painelConsultarVenda = new JPanel();
		painelConsultarVenda.setBorder(BorderFactory.createTitledBorder("Consultar vendas"));
		painelConsultarVenda.setLayout(new GridBagLayout());
		painelConsultarVenda.setSize(new Dimension(500, 500));

		this.add(BorderLayout.BEFORE_FIRST_LINE, painelConsultarVenda);

		GridBagConstraints gridConsultaVendas = new GridBagConstraints();
		gridConsultaVendas.insets = new Insets(4, 4, 4, 4);

		gridConsultaVendas.gridx = 0;
		gridConsultaVendas.gridy = 0;
		JLabel dataDasVendasLabel = new JLabel("Data das vendas");
		painelConsultarVenda.add(dataDasVendasLabel, gridConsultaVendas);

		gridConsultaVendas.gridx = 1;
		gridConsultaVendas.gridy = 0;
		dataVendasText = new JTextField(15);
		painelConsultarVenda.add(dataVendasText, gridConsultaVendas);

		gridConsultaVendas.gridx = 2;
		gridConsultaVendas.gridy = 0;
		consultarVenda = new JButton("Consultar");
		consultarVenda.addActionListener(this);
		painelConsultarVenda.add(consultarVenda, gridConsultaVendas);

		gridConsultaVendas.gridx = 1;
		gridConsultaVendas.gridy = 1;
		botaoVoltarConsultarVenda = new JButton("Voltar...");
		botaoVoltarConsultarVenda.addActionListener(this);
		painelConsultarVenda.add(botaoVoltarConsultarVenda, gridConsultaVendas);

		painelConsultarVenda.setVisible(true);

	}