@@ -0,0 +1,1220 @@
+package InventoryPK;%0A%0Aimport javax.swing.JTabbedPane;%0Aimport javax.swing.event.ChangeEvent;%0Aimport javax.swing.event.ChangeListener;%0A%0Apublic class SellingInvoice %7B%0A%09%09%0A%0A    public static JTabbedPane tPane;%0A    %0A    public static JTabbedPane sellingInvoicePanel() %7B%0A        %0A        tPane = new JTabbedPane();%0A        tPane.addTab(%22Registered invoices%22,%0A                SInvoice_RegisteredInvoices.RegisteredInvoice());%0A        tPane.addTab(%22New invoice%22,%0A                SInvoice_NewInvoice.NewInvoice(Main.mainFrame));%0A         tPane.addTab(%22Returns%22,%0A                SInvoice_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(%22Selling Invoice%22,%22Registered Invoices%22, %22%22);%0A                if(tPane.getSelectedIndex() == 1)%0A                   Main.statusBar.setText(%22Selling Invoice%22,%22New Invoice%22, %22%22);%0A                if(tPane.getSelectedIndex() == 2)%0A                   Main.statusBar.setText(%22Selling Invoice%22,%22Returns%22, %22%22);%0A            %7D%0A            %0A        %7D);%0A        %0A%09return tPane;%09%0A%09%7D%0A%0A%7D%0A

Create SellingInvoice.java