butCustom = new Button("View/Edit Pilot...");
butCustom = new Button("View/Edit Mech...");
    private void setupEntities() {        lisEntities = new List(10);        butLoad = new Button("Open Mech File...");        butLoad.setActionCommand("load_mech");        butLoad.addActionListener(this);                    butCustom = new Button("View/Edit Pilot...");        butCustom.setActionCommand("custom_mech");        butCustom.addActionListener(this);                    butDelete = new Button("Delete Mech");        butDelete.setActionCommand("delete_mech");        butDelete.addActionListener(this);                    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);    }