public void load() { if (loadMessage != null) { load(loadMessage); } else { // System.err.println("Warning: Attempting to load without loadMessage"); } }
protected void load(Message msg) { loadMessage = msg; for (int i = 0; i < getComponentCount(); i++) { Component c = getComponent(i); if (BasePanel.class.isInstance(c)) { // System.err.println("Loading BasePanel"); ((BasePanel) c).load(msg); } } }
public void initializePanel(Message init, Message load) { setInitMessage(init); init(); setLoadMessage(load); load(); }