import java.awt.*; 
import javax.swing.*;
import java.awt.event.*; 
import javax.swing.event.*;


public class Interface_Cadastro_Produtos extends  JFrame implements ActionListener
{
		JTextField tf_Cod_Produto, tf_Descricao_Produto, tf_Qtde_Produto, tf_Preco_Compra, tf_Preco_Venda;
		JTextField tf_Preco_Vendas, tf_Pesquisar;
		JButton bt_Novo, bt_Salvar,bt_Editar,  bt_Cadastrar, bt_Excluir, bt_Cancelar, bt_Pesquisar, bt_Sair, bt_Mais;
		JPanel Painel_Norte, Painel_Centro, Painel_Sul;
		JPanel Painel_Centro1, Painel_Centro2, Painel_Centro3,Painel_Centro4;
		JComboBox cbb_Fornecedores;
		 
		public Interface_Cadastro_Produtos()
		{
				setLayout(new BorderLayout());
				getContentPane().add("North", Painel_Norte = new JPanel (new FlowLayout(FlowLayout.CENTER)));
				Painel_Norte.add(new JLabel("CADASTRO DE PRODUTOS"));
				getContentPane().add("Center", Painel_Centro = new JPanel (new GridLayout(4, 1)));
				Painel_Centro.add(Painel_Centro1 = new JPanel(new FlowLayout(FlowLayout.LEFT)));
				Painel_Centro1.add(new JLabel ("CÓDIGO:"));
				Painel_Centro1.add(tf_Cod_Produto = new JTextField(5));
				Painel_Centro1.add(new JLabel ("DESCRIÇÃO:"));
				Painel_Centro1.add(tf_Descricao_Produto = new JTextField(20));
				Painel_Centro1.add(new JLabel ("QUANTIDADE:"));
				Painel_Centro1.add(tf_Qtde_Produto = new JTextField(5));

				Painel_Centro.add(Painel_Centro2 = new JPanel(new FlowLayout(FlowLayout.LEFT)));
				Painel_Centro2.add(new JLabel ("PREÇO DE COMPRA:"));
				Painel_Centro2.add(tf_Preco_Compra = new JTextField(5));
				Painel_Centro2.add(new JLabel ("PREÇO DE VENDA:"));
				Painel_Centro2.add(tf_Preco_Venda = new JTextField(5));
				Painel_Centro2.add(new JLabel ("FORNECEDORES:"));
				Painel_Centro2.add(cbb_Fornecedores = new JComboBox());
				cbb_Fornecedores.addItem("SELECIONE...");
				Painel_Centro2.add(bt_Mais = new JButton("+"));

				bt_Mais.setToolTipText("CLIQUE AQUI PARA ADICIONAR NOVOS FORNECEDORES");
				Painel_Centro.add(Painel_Centro3 	= new JPanel(new FlowLayout(FlowLayout.RIGHT)));
				Painel_Centro.add(Painel_Centro4 = new JPanel(new FlowLayout(FlowLayout.LEFT)));
				Painel_Centro4.add(bt_Novo          = new JButton (new ImageIcon("icone_novo.png")));
				bt_Novo.setToolTipText("NOVO");
     			Painel_Centro4.add(bt_Salvar 		= new JButton(new ImageIcon("icone_salvar.png")));
     			bt_Salvar.setToolTipText("SALVAR");
				Painel_Centro4.add(bt_Editar 		= new JButton(new ImageIcon("icone_atualizar.png")));
				bt_Editar.setToolTipText("EDITAR");
				Painel_Centro4.add(bt_Excluir		= new JButton(new ImageIcon("icone_excluir.png")));
				bt_Excluir.setToolTipText("EXCLUIR");
				Painel_Centro4.add(bt_Cancelar		= new JButton(new ImageIcon("icone_cancelar.png")));
				bt_Cancelar.setToolTipText("CANCELAR");
				Painel_Centro3.add(tf_Pesquisar = new JTextField(10));
				Painel_Centro3.add(bt_Pesquisar = new JButton (new ImageIcon("icone_pesquisar.png")));
				
							
				setResizable(false);
				setVisible(true);
				pack();
		}
		public void actionPerformed (ActionEvent e)
		{
				
		}
		public static void main(String args [])
		{
				new Interface_Cadastro_Produtos();
		}
}