m_pParams.setLayout(new GridLayout(3, 2));
m_pParams.setLayout(new GridLayout(4, 2));
    public MechSelectorDialog(Client cl)    {        super(cl.frame, "Select Mech...", true);        m_client = cl;                for (int x = 0; x < m_saSorts.length; x++) {            m_chSort.addItem(m_saSorts[x]);        }        m_pParams.setLayout(new GridLayout(3, 2));        m_pParams.add(m_labelWeightClass);        m_pParams.add(m_chWeightClass);        m_pParams.add(m_labelType);        m_pParams.add(m_chType);        m_pParams.add(m_labelSort);        m_pParams.add(m_chSort);                m_pButtons.setLayout(new FlowLayout(FlowLayout.CENTER));        m_pButtons.add(m_bPick);        m_pButtons.add(m_bCancel);                m_pLeft.setLayout(new BorderLayout());        m_pLeft.add(m_pParams, BorderLayout.NORTH);        m_mechList.setFont(new Font("Monospaced", Font.PLAIN, 12));        m_mechList.addKeyListener(this);        m_pLeft.add(m_mechList, BorderLayout.CENTER);        m_pLeft.add(m_pButtons, BorderLayout.SOUTH);        setLayout(new BorderLayout());        add(m_pLeft, BorderLayout.WEST);        m_mechViewLeft.setFont(new Font("Monospaced", Font.PLAIN, 12));        add(m_mechViewLeft, BorderLayout.CENTER);        m_mechViewRight.setFont(new Font("Monospaced", Font.PLAIN, 12));        add(m_mechViewRight, BorderLayout.EAST);                m_chWeightClass.addItemListener(this);        m_chType.addItemListener(this);        m_chSort.addItemListener(this);        m_mechList.addItemListener(this);        m_bPick.addActionListener(this);        m_bCancel.addActionListener(this);        setSize(760, 320);        setLocation(m_client.frame.getLocation().x + m_client.frame.getSize().width/2 - getSize().width/2,                    m_client.frame.getLocation().y + m_client.frame.getSize().height/2 - getSize().height/2);        populateChoices(MechSummaryCache.getInstance().getAllMechs());        filterMechs();    }