use of megameklab.com.ui.BattleArmor.tabs.StructureTab in project megameklab by MegaMek.
the class MainUI method reloadTabs.
@Override
public void reloadTabs() {
masterPanel.removeAll();
ConfigPane.removeAll();
masterPanel.setLayout(new BorderLayout());
structureTab = new StructureTab(this);
equipTab = new EquipmentTab(this);
statusbar = new StatusBar(this);
buildTab = new BuildTab(this);
structureTab.addRefreshedListener(this);
equipTab.addRefreshedListener(this);
buildTab.addRefreshedListener(this);
ConfigPane.addTab("Structure/Armor", structureTab);
ConfigPane.addTab("Equipment", equipTab);
ConfigPane.addTab("Assign Criticals", buildTab);
masterPanel.add(ConfigPane, BorderLayout.CENTER);
masterPanel.add(statusbar, BorderLayout.SOUTH);
refreshHeader();
this.repaint();
}
Aggregations