
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import javax.swing.JButton.*;



public class Frame_Aula41a43 extends JFrame implements ActionListener
{
		JToolBar barra_de_Ferramentas = new JToolBar ();
		JMenuBar barra_de_Menu = new JMenuBar();
		JMenu Menu_Arquivo, Menu_Modulos, Menu_Configuracoes, Menu_Seguranca, Menu_Ajuda; 
		JButton bt_Ajuda, bt_Atendimento, bt_Internet, bt_Backup, bt_Seguranca, bt_Usuarios, bt_Sair;  
		JButton bt_Administrador, bt_Faturamento, bt_Pagar, bt_Cadastros, bt_Estoque, bt_Caixa, bt_Servicos, bt_Receber, bt_Bancos,bt_Producao,bt_RH, bt_Vazio;
		JPanel Paniel_Norte, Painel_Botoes, Painel_Leste; 
		JLabel lbl_Autor, lbl_Vazia;				
		Color Cor1 = new Color(174, 190, 203);
		
		
		public 	Frame_Aula41a43()
		{
				setJMenuBar(barra_de_Menu);
				barra_de_Menu.add(Menu_Arquivo			= new JMenu("ARQUIVO"));
				barra_de_Menu.add(Menu_Modulos			= new JMenu("MODULOS"));
				barra_de_Menu.add(Menu_Configuracoes	= new JMenu("CONFIGURAÇÕES"));
				barra_de_Menu.add(Menu_Seguranca		= new JMenu("SEGURANÇA"));
				barra_de_Menu.add(Menu_Ajuda			= new JMenu("AJUDA"));
				
				setLayout(new BorderLayout());
				getContentPane().add("North", Paniel_Norte = new JPanel(new FlowLayout(FlowLayout.RIGHT)));
				Paniel_Norte.setBackground(new Color(141, 155, 164));
				Paniel_Norte.add(barra_de_Ferramentas);
				getContentPane().add("East", Painel_Leste = new JPanel(new GridLayout(15,1)));

				Painel_Leste.add(new JPanel());
				Painel_Leste.add(new JPanel());
				Painel_Leste.add(new JPanel());
				Painel_Leste.add(new JPanel());
				Painel_Leste.add(new JPanel());
				Painel_Leste.add(lbl_Autor = new JLabel (""));
				lbl_Autor.setText("Autoes:");
				Painel_Leste.add(lbl_Autor = new JLabel ("Prof. André "));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Andre"));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Jonathan"));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Franciele"));
				
				Painel_Leste.add(lbl_Autor = new JLabel ("** Luana"));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Ivan"));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Juliana Juju"));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Luiz"));
				Painel_Leste.add(lbl_Autor = new JLabel ("** Paula"));
				barra_de_Ferramentas.add(bt_Ajuda 		= new JButton(new ImageIcon("bt_Ajuda.png")));
				barra_de_Ferramentas.add(bt_Atendimento = new JButton(new ImageIcon("bt_Atendimento.png")));
				barra_de_Ferramentas.add(bt_Internet 	= new JButton(new ImageIcon("bt_Internet.png")));
				barra_de_Ferramentas.add(bt_Backup 		= new JButton(new ImageIcon("bt_Backup.png")));
				barra_de_Ferramentas.add(bt_Usuarios 	= new JButton(new ImageIcon("bt_Seguranca.png")));
				barra_de_Ferramentas.add(bt_Sair 		= new JButton(new ImageIcon("bt_Sair.png")));
				barra_de_Ferramentas.setBackground(new Color(141, 155, 164));
				
				getContentPane().add("Center", Painel_Botoes = new JPanel(new GridLayout(4, 5)));
				Painel_Botoes.add(bt_Administrador 		= new JButton(new ImageIcon("Icone_Administrador.png")));
				Painel_Botoes.add(bt_Faturamento   		= new JButton (new ImageIcon("Icone_Faturamento.png"))); 
				Painel_Botoes.add(bt_Cadastros	  		= new JButton (new ImageIcon("Icone_Cadastros.png")));
				Painel_Botoes.add(bt_Receber			= new JButton (new ImageIcon("Icone_Receber.png")));
				
				
				Painel_Botoes.add(bt_Pagar				= new JButton (new ImageIcon("Icone_Pagar.png"))); 
				Painel_Botoes.add(bt_Estoque			= new JButton (new ImageIcon("Icone_Estoque.png")));
				Painel_Botoes.add(bt_Caixa 				= new JButton (new ImageIcon("Icone_Caixa.png")));
				Painel_Botoes.add(bt_Servicos			= new JButton (new ImageIcon("Icone_Servicos.png")));
				Painel_Botoes.add(bt_Bancos				= new JButton (new ImageIcon("Icone_Bancos.png")));
				Painel_Botoes.add(bt_Producao			= new JButton (new ImageIcon("Icone_Producao.png")));
				
				Painel_Botoes.add(bt_RH					= new JButton (new ImageIcon("Icone_RH.png")));
				Painel_Botoes.add(lbl_Vazia = new JLabel(new ImageIcon("Icone_Vazio.png")));
				Painel_Botoes.add(lbl_Vazia = new JLabel(new ImageIcon("Icone_Vazio.png")));
				Painel_Botoes.add(lbl_Vazia = new JLabel(new ImageIcon("Icone_Vazio.png")));
				Painel_Botoes.add(lbl_Vazia = new JLabel(new ImageIcon("Icone_Vazio.png")));
				Painel_Botoes.add(lbl_Vazia = new JLabel(new ImageIcon("Icone_Vazio.png")));				
				
				Painel_Botoes.setBackground(Cor1);
			
				bt_Administrador.setBackground(Cor1);
				bt_Faturamento.setBackground(Cor1);
				bt_Pagar.setBackground(Cor1);
				bt_Cadastros.setBackground(Cor1);
				bt_Estoque.setBackground(Cor1);
				bt_Caixa.setBackground(Cor1);
				bt_Servicos.setBackground(Cor1);
				bt_Receber.setBackground(Cor1);
				bt_Bancos.setBackground(Cor1);
				bt_Producao.setBackground(Cor1);
				bt_RH.setBackground(Cor1);
	
				
				bt_Ajuda.addActionListener(this);
				bt_Atendimento.addActionListener(this);
				bt_Internet.addActionListener(this); 
				bt_Backup.addActionListener(this);
				bt_Usuarios.addActionListener(this);
				bt_Sair.addActionListener(this);
			
				this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 
				setTitle("ATIVIDADE AVALIATIVA DAS AULAS 41 A 43");	
				pack();
				setVisible(true);
		}
		public void actionPerformed (ActionEvent e)
		{
				if(e.getSource()==bt_Sair)
				{
						System.exit(0);
				}	
		}		
		public static void main (String args [])
		{			
				
				new Tela_Login();
		}		
}