예제 #1
0
 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);
   }
 }
예제 #2
0
    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);
    }
예제 #3
0
 public Object g() throws Exception {
   List list = new ArrayList();
   for (int i = 0; i < n; i++) list.add(g.g());
   return list;
 }