Tonny Kohar ha scritto:
> Hi,
>
> On Wed, May 13, 2009 at 12:18 AM, I]ark <
another_half_life@...> wrote:
>
>> Hello, I would like to know if making a TopComponent dynamic , and creating
>> different instances with different PREFERRED_ID, i can somehow find it in my
>> application. As you type for singleton with WindowManager.getDefault
>> ().FindTopComponent(tcID)
>>
>>
>
> I am not understand what you mean by dynamic TopComponent.
> But TopComponent does not necesarrily need to be singleton. You can
> easily create TopComponent which can be always be created the
> instance. For example, TopComponent in the Editor Mode (eg: display
> the content of file aka Java Editor or XML editor)
>
> Cheers
> Tonny Kohar
> --
> Sketsa SVG Editor
> imagine, design, create ...
>
http://www.kiyut.com Sorry for my English, I try to explain better.
I know how to create a dynamic TopComponent and set for each instance a
different PREFERRED_ID, but I would like to know if i can call it from
the platform, once created, and subsequently closed. For example, as is
done with the singleton using method " WindowManager.getDefault
().FindTopComponent(tcID) "