Hi: I am working on a Distributed Ptolemy through CORBA/EJB/Web Services,
I am learning the Ptolemy code. I like its software architecture, that is good to me. I have a question. When we run a model with PtExecuteApplication provided with XML source of model, Ptolemy internally calls the constructor like this: public CompositeActor/Actor/Director (CompositeEntity container, String name) Here I have a question. If I would instantiate the constructor with empty argument like this: public CompositeActor() and call setContainer and setName on the result object: I mean: Current way: p = new Actor/CompositeActor/Director (container, name) Instead of this, this will be equal to above semantically: p = new Actor/CompositeActor/Director (); p.setContainer (container) p.setName(name) Thanks Best Regards Erol Akarsu public CompositeActor(Workspace workspace) public CompositeActor (CompositeEntity container, String name) __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]