@@ -0,0 +1,1011 @@
+package InventoryPK;%0A%0Aimport javax.swing.JTabbedPane;%0Aimport javax.swing.event.ChangeEvent;%0Aimport javax.swing.event.ChangeListener;%0A%0A%0Apublic class Database %7B%0A    %0A    public static JTabbedPane tPane;%0A%09%0A    public static JTabbedPane Database() %7B%0A%09%09%0A        tPane = new JTabbedPane();%0A        tPane.addTab(%22Items%22,Items.itemPanel());%0A        tPane.addTab(%22Customers%22, Customers.customers());%0A        tPane.addTab(%22Vendors%22, Vendors.vendors());%0A%09%0A        tPane.addChangeListener(new ChangeListener() %7B%0A%0A            @Override%0A            public void stateChanged(ChangeEvent e) %7B%0A            %0A                if(tPane.getSelectedIndex() == 0) %0A                    Items.updateSumTotalDisPrice();%0A                if(tPane.getSelectedIndex() == 1) %0A                    Main.statusBar.setText(%22Database%22,%22Customers%22, %22%22);%0A                if(tPane.getSelectedIndex() == 2) %0A                    Main.statusBar.setText(%22Database%22,%22Vendors%22, %22%22);%0A            %7D%0A        %7D);%0A                %0A        return tPane;%09%0A    %7D%0A%7D%0A

Create Database.java