this.internalL[i].setText(en.getInternalString(i));
if (en.isRearLocation(i)) { this.internalL[i].setText("N/A"); } else { this.internalL[i].setText(en.getInternalString(i)); }
    public void displayMech(Entity en) {        this.removeAll();                locL = new Label[en.locations()];        internalL = new Label[en.locations()];        armorL = new Label[en.locations()];                    // initialize        for(int i = 0; i < en.locations(); i++) {            locL[i] = new Label("Center Torso Rear", Label.LEFT);            internalL[i] = new Label("99", Label.CENTER);            armorL[i] = new Label("999", Label.CENTER);        }        // layout main panel        GridBagConstraints c = new GridBagConstraints();        c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(2, 2, 2, 2);                c.weightx = 1.0;    c.weighty = 1.0;        c.gridwidth = 1;        ((GridBagLayout)getLayout()).setConstraints(locHL, c);        add(locHL);                ((GridBagLayout)getLayout()).setConstraints(armorHL, c);        add(armorHL);                c.gridwidth = GridBagConstraints.REMAINDER;        ((GridBagLayout)getLayout()).setConstraints(internalHL, c);        add(internalHL);                    for(int i = 0; i < en.locations(); i++) {            c.gridwidth = 1;            ((GridBagLayout)getLayout()).setConstraints(locL[i], c);            add(locL[i]);                    ((GridBagLayout)getLayout()).setConstraints(armorL[i], c);            add(armorL[i]);                    c.gridwidth = GridBagConstraints.REMAINDER;            ((GridBagLayout)getLayout()).setConstraints(internalL[i], c);            add(internalL[i]);        }                // update armor panel        for(int i = 0; i < en.locations(); i++) {            this.locL[i].setText(en.getLocationName(i));            this.internalL[i].setText(en.getInternalString(i));            this.armorL[i].setText(en.getArmorString(i));        }                this.validate();    }