[kepler-dev] Adding element to Runtime Window

Michal Owsiak michal.owsiak at man.poznan.pl
Tue Aug 17 04:40:43 PDT 2010


Thanks!

It worked fine.

Michal

> Hi Michal,
> 
> In Ptolemy, classes that implement
> ptolemy.actor.gui.Placeable
> or extend ptolemy.actor.gui.AbstractPlaceable
> get placed in the Runtime Window.
> 
> I'm not sure if this is the Runtime Window to which you refer.
> 
> For example, if you do:
> 
> 1. java -classpath $PTII ptolemy.vergil.VergilApplication
> $PTII/ptolemy/domains/sdf/demo/Butterfly/Butterfly.xml
> 2. View | Run Window
> 
> Then a Run Window pops up that has the Plotter in it.
> 
> Try searching ptolemy/actor/gui/*.java for Placeable.
> 
> However, I suspect you are referring to a different Runtime Window?
> 
> _Christopher
> 
> 
> 
> 
> On 8/13/10 6:28 AM, Michal Owsiak wrote:
>> Hello everybody,
>>
>> I have question related to Runtime Window.
>>
>> If I want to make sure that my class is "shown" within Runtime Window
>> should I implement some interface or call some specific method of the
>> Container?
>>
>> use case: I have an actor that prints messages in separate JFrame object
>> (like Display). I want to make it print messages into Runtime Window as
>> well.
>>
>> Thanks in advance for your suggestions
>>
>> Cheers
>>
>> Michal
>>
> 


-- 
Michal Owsiak <michal.owsiak at man.poznan.pl>

Institute of Bioorganic Chemistry PAS
Poznan Supercomputing and Networking Center
Noskowskiego 12/14, 61-704 Poznan, POLAND

http://www.man.poznan.pl


More information about the Kepler-dev mailing list