lblPlaceholder = new Label();
    private void setupEntities() {        lisEntities = new List(10);        lisEntities.addActionListener(this);        lisEntities.addItemListener(this);        butLoadList = new Button("Load Unit List...");        butLoadList.setActionCommand("load_list");        butLoadList.addActionListener(this);        lblPlaceholder = new Label();        butSaveList = new Button("Save Unit List...");        butSaveList.setActionCommand("save_list");        butSaveList.addActionListener(this);        butSaveList.setEnabled(false);        butLoad = new Button("Add A Unit...");        butLoad.setActionCommand("load_mech");        butLoad.addActionListener(this);        butCustom = new Button("Configure Unit...");        butCustom.setActionCommand("custom_mech");        butCustom.addActionListener(this);        butCustom.setEnabled(false);                    butMechReadout = new Button("View Unit...");        butMechReadout.setActionCommand("Mech_readout");        butMechReadout.addActionListener(this);        butMechReadout.setEnabled(false);                    butDelete = new Button("Delete Unit");        butDelete.setActionCommand("delete_mech");        butDelete.addActionListener(this);        butDelete.setEnabled(false);                    butDeleteAll = new Button("Delete All");        butDeleteAll.setActionCommand("delete_all");        butDeleteAll.addActionListener(this);        butDeleteAll.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);                    gridbag.setConstraints(butMechReadout, c);        panEntities.add(butMechReadout);                    c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        gridbag.setConstraints(butDelete, c);        panEntities.add(butDelete);        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 );        c.gridwidth = 1;        gridbag.setConstraints( butDeleteAll, c );        panEntities.add( butDeleteAll );    }