use of main.swing.generic.components.G_Component in project Eidolons by IDemiurge.
the class HC_TabPanel method refresh.
public void refresh() {
removeAll();
tabPanel.refresh();
if (Launcher.getHcKeyListener() != null) {
Launcher.getHcKeyListener().setTabPanel(this);
}
requestFocusInWindow();
add(tabPanel, "id tabs, pos " + getTabsOffsetX() + " " + getTabsOffsetY());
G_Component component = tabs.get(getIndex()).getComponent();
component.refresh();
// component.refreshComponents(); //TODO
add(component, "pos " + getCompOffsetX() + " tabs.y2+" + getCompOffsetY());
revalidate();
repaint();
}
Aggregations