コード例 #1
0
ファイル: EntityImpl.java プロジェクト: gusjava/gus06-src
 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
ファイル: EntityImpl.java プロジェクト: gusjava/gus06-src
    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
ファイル: EntityImpl.java プロジェクト: gusjava/gus06-src
 public Object g() throws Exception {
   List list = new ArrayList();
   for (int i = 0; i < n; i++) list.add(g.g());
   return list;
 }