private JComponent findComp(G g) { try { Object result = g.g(); if (result instanceof Exception) return errComp((Exception) result); return (JComponent) findComp.t(result); } catch (Exception e) { Outside.err(this, "findComp(G)", e); return errComp(e); } }
public JPanel1(String entityName) throws Exception { super(new BorderLayout()); g = (G) manager.t(entityName); if (g.g() != null) { updateGui(); return; } add(waitPanel(), BorderLayout.CENTER); ((S) g).addActionListener(this); }
public Object g() throws Exception { List list = new ArrayList(); for (int i = 0; i < n; i++) list.add(g.g()); return list; }