Re: Dynamically adding internal frame to desktop pane

masukomi <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
the frame you create from the XM should have an id

once you know what you want to add you can either use standard java to 
create the internal stuff and add it to the component with the same 
name as the id or you can have a snippet of XML for each of the 
potential pieces that would be inserted into it.. then, once you've 
decided what you want,  use SwingEngine.render(...)  (which returns a 
component) with the appropriate xml snippet passed to it and add the 
return value to the Component you generated the first time around


-Kate

On Jan 16, 2004, at 3:36 PM, David Kafrissen wrote:

> Greetings,
>
> I am new to swixml and would like any examples.
>
> Specifically, I would like to create a desktoppane and then depending 
> on
> user action draw new internal frames.
>
> There is the one layout example that comes with the code that has fully
> defined a desktoppane and internalframes in the XML file. But how 
> would I
> add internalframes after I instantiated the desktoppane and any initial
> internalframes?
>
> Regards,
>
> Dave
>
>
>
>
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.