c.gridwidth = 1; c.gridy = GridBagConstraints.RELATIVE; gridbag.setConstraints( butLoadList, c ); panEntities.add( butLoadList );  c.gridwidth = 1; gridbag.setConstraints( lblPlaceholder, c ); panEntities.add( lblPlaceholder );  c.gridwidth = 1; gridbag.setConstraints( butSaveList, c ); panEntities.add( butSaveList );
    private void setupEntities() {        lisEntities = new List(10);        lisEntities.addActionListener(this);        lisEntities.addItemListener(this);        butLoad = new Button("Add A Mech...");        butLoad.setActionCommand("load_mech");        butLoad.addActionListener(this);        butCustom = new Button("Configure / View Mech Info...");        butCustom.setActionCommand("custom_mech");        butCustom.addActionListener(this);        butCustom.setEnabled(false);                    butDelete = new Button("Delete Mech");        butDelete.setActionCommand("delete_mech");        butDelete.addActionListener(this);        butDelete.setEnabled(false);                    panEntities = new Panel();                    // layout        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        panEntities.setLayout(gridbag);                    c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(1, 1, 1, 1);        c.weightx = 1.0;    c.weighty = 1.0;        c.gridwidth = GridBagConstraints.REMAINDER;        gridbag.setConstraints(lisEntities, c);        panEntities.add(lisEntities);                    c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = 1;        gridbag.setConstraints(butLoad, c);        panEntities.add(butLoad);                    gridbag.setConstraints(butCustom, c);        panEntities.add(butCustom);                    c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        gridbag.setConstraints(butDelete, c);        panEntities.add(butDelete);    }