@@ -0,0 +1,1159 @@
+package InventoryPK;%0A%0Aimport javax.swing.JTabbedPane;%0Aimport javax.swing.event.ChangeEvent;%0Aimport javax.swing.event.ChangeListener;%0A%0Apublic class PurchasingInvoice %7B%0A    %0A    static public JTabbedPane tPane = new JTabbedPane();%0A    %0A    public static JTabbedPane purchasingInvoicePanel() %7B%0A%09%09%0A%09tPane.addTab(%22Registered invoices%22,PInvoice_RegisteredInvoices.RegisteredInvoice());%0A%09tPane.addTab(%22New invoice%22,PInvoice_NewInvoice.NewInvoice(Main.mainFrame));%0A        tPane.addTab(%22Returns%22,PInvoice_Returns.returns());%0A%0A        tPane.addChangeListener(new ChangeListener() %7B%0A            %0A            @Override%0A            public void stateChanged(ChangeEvent e) %7B%0A                %0A                if(tPane.getSelectedIndex() == 0)%0A                   Main.statusBar.setText(%22Purchaing Invoice%22,%22Registered Invoices%22, %22%22);%0A                if(tPane.getSelectedIndex() == 1)%0A                   Main.statusBar.setText(%22Purchaing Invoice%22,%22New Invoice%22, %22%22);%0A                 if(tPane.getSelectedIndex() == 2)%0A                   Main.statusBar.setText(%22Purchaing Invoice%22,%22Returns%22, %22%22);%0A            %7D%0A            %0A        %7D);%0A                %0A%09%09return tPane;%09%0A%09%7D%0A%0A%7D%0A

Create PurchasingInvoice.java