Hello guys! So There's supposed to be 3 additional Jpanels inside the Ready Queue namely System , Interactive and Batch. The problem is, I couldn't make them appear when I run the program . . .What should I do?


Code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class Frame extends JFrame {
    JPanel ProcPanel;
    JButton INPUT;
    JButton RANDOM;
    JButton START;
    JButton STOP;
    JButton SAVE;
    JButton OPEN;
    JButton QUIT;
    JButton SUMMARY;
    JPanel MenuPanel;
    JPanel StatPanel;
    JPanel ReadyQueuePanel;
    JPanel CPUPanel;
    JPanel TimerPanel;
    JPanel CPUBurstPanel;
    JPanel IOBurstPanel;
    JPanel panel_1;
    JScrollBar scrollbar_h_2;
    JScrollBar scrollbar_h_3;
	Object data [][] = new Object [25][5];
	String[] columnNames={"Process","AT","BT","d","e"};
	JTable table = new JTable(data,columnNames );

    public Frame() {
        FrameLayout customLayout = new FrameLayout();


        getContentPane().setFont(new Font("Helvetica", Font.PLAIN, 12));
        getContentPane().setLayout(customLayout);

        ProcPanel = new JPanel();
        getContentPane().add(ProcPanel);
        GridBagConstraints c = new GridBagConstraints();
        ProcPanel.setBackground(Color.DARK_GRAY);
        ProcPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "PROCESS DETAILS", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));
		ProcPanel.add(table);
		table.setPreferredScrollableViewportSize(new Dimension(230,130));
		JScrollPane scroll=new JScrollPane(table);
		ProcPanel.add(scroll);
//salamat CHiiiiiiiiiiiiiiiiiiiiNNNN!!!! XD jujujujujujujujjjujujuj



        INPUT = new JButton("INPUT");
        getContentPane().add(INPUT);

        RANDOM = new JButton("RANDOM");
        getContentPane().add(RANDOM);

        START = new JButton("START");
        getContentPane().add(START);

        STOP = new JButton("STOP");
        getContentPane().add(STOP);

        SAVE = new JButton("SAVE");
        getContentPane().add(SAVE);

        OPEN = new JButton("OPEN");
        getContentPane().add(OPEN);

        QUIT = new JButton("QUIT");
        getContentPane().add(QUIT);

        SUMMARY = new JButton("SUMMARY");
        getContentPane().add(SUMMARY);

        MenuPanel = new JPanel();
        getContentPane().add(MenuPanel);
        MenuPanel.setBackground(Color.DARK_GRAY);
        //MenuPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "MENU", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        StatPanel = new JPanel();
        getContentPane().add(StatPanel);
        StatPanel.setBackground(Color.DARK_GRAY);
        StatPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "STATUS BOX", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        ReadyQueuePanel = new JPanel();
        getContentPane().add(ReadyQueuePanel);
        ReadyQueuePanel.setBackground(Color.DARK_GRAY);
        ReadyQueuePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "READY QUEUE", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        CPUPanel = new JPanel();
        getContentPane().add(CPUPanel);
        CPUPanel.setBackground(Color.DARK_GRAY);
        CPUPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "CPU UTILIZATION", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        TimerPanel = new JPanel();
        getContentPane().add(TimerPanel);
        TimerPanel.setBackground(Color.DARK_GRAY);
        TimerPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "TIMER", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        CPUBurstPanel = new JPanel();
        getContentPane().add(CPUBurstPanel);
        CPUBurstPanel.setBackground(Color.DARK_GRAY);
        CPUBurstPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "CPU BURST", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        IOBurstPanel = new JPanel();
        getContentPane().add(IOBurstPanel);
		IOBurstPanel.setBackground(Color.DARK_GRAY);
		IOBurstPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "IO BURST", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Calibri", 1, 12), new java.awt.Color(255, 255, 153)));

        panel_1 = new JPanel();
        getContentPane().add(panel_1);
        panel_1.setBackground(Color.BLACK);

        scrollbar_h_2 = new JScrollBar(Scrollbar.HORIZONTAL);
        getContentPane().add(scrollbar_h_2);

        scrollbar_h_3 = new JScrollBar(Scrollbar.HORIZONTAL);
        getContentPane().add(scrollbar_h_3);

        setSize(getPreferredSize());

        addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
                System.exit(0);
            }
        });

    }

    public static void main(String args[]) {
        Frame window = new Frame();

        window.setTitle("Frame");
        window.pack();
        window.show();
    }
}

class FrameLayout implements LayoutManager {

    public FrameLayout() {
    }

    public void addLayoutComponent(String name, Component comp) {
    }

    public void removeLayoutComponent(Component comp) {
    }

    public Dimension preferredLayoutSize(Container parent) {
        Dimension dim = new Dimension(0, 0);

        Insets insets = parent.getInsets();
        dim.width = 734 + insets.left + insets.right;
        dim.height = 463 + insets.top + insets.bottom;

        return dim;
    }

    public Dimension minimumLayoutSize(Container parent) {
        Dimension dim = new Dimension(0, 0);
        return dim;
    }

    public void layoutContainer(Container parent) {
        Insets insets = parent.getInsets();

        Component c;
        c = parent.getComponent(0);
        if (c.isVisible()) {c.setBounds(insets.left+184,insets.top+24,264,176);}
        c = parent.getComponent(1);
        if (c.isVisible()) {c.setBounds(insets.left+16,insets.top+16,72,24);}
        c = parent.getComponent(2);
        if (c.isVisible()) {c.setBounds(insets.left+16,insets.top+40,72,24);}
        c = parent.getComponent(3);
        if (c.isVisible()) {c.setBounds(insets.left+16,insets.top+64,72,24);}
        c = parent.getComponent(4);
        if (c.isVisible()) {c.setBounds(insets.left+88,insets.top+64,72,24);}
        c = parent.getComponent(5);
        if (c.isVisible()) {c.setBounds(insets.left+88,insets.top+40,72,24);}
        c = parent.getComponent(6);
        if (c.isVisible()) {c.setBounds(insets.left+88,insets.top+16,72,24);}
        c = parent.getComponent(7);
        if (c.isVisible()) {c.setBounds(insets.left+16,insets.top+112,144,24);}
        c = parent.getComponent(8);
        if (c.isVisible()) {c.setBounds(insets.left+16,insets.top+88,144,24);}
        c = parent.getComponent(9);
        if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+8,160,136);}
        c = parent.getComponent(10);
        if (c.isVisible()) {c.setBounds(insets.left+456,insets.top+24,264,160);}
        c = parent.getComponent(11);
        if (c.isVisible()) {c.setBounds(insets.left+16,insets.top+208,344,136);}
        c = parent.getComponent(12);
        if (c.isVisible()) {c.setBounds(insets.left+456,insets.top+208,192,136);}
        c = parent.getComponent(13);
        if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+152,160,48);}
        c = parent.getComponent(14);
        if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+368,344,88);}
        c = parent.getComponent(15);
        if (c.isVisible()) {c.setBounds(insets.left+360,insets.top+368,360,88);}
        c = parent.getComponent(16);
        if (c.isVisible()) {c.setBounds(insets.left+0,insets.top+0,808,520);}
        c = parent.getComponent(17);
        if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+440,344,16);}
        c = parent.getComponent(18);
        if (c.isVisible()) {c.setBounds(insets.left+360,insets.top+440,360,16);}
    }
}