how to copy properties of one DocktableFrame to another one

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

how to copy properties of one DocktableFrame to another one

Postby sainideepak » Thu Aug 25, 2011 4:49 am

Hi,

I am creating one DockableFrame based on the settings defined in the layout file. Now, I am generating few other DockableFrame's on the fly. I want to set the properties of these on-the-fly generated frames similar to the one created based on the layout file.

I can set these properties by reading and setting each property at a time, but is there an easier way. something like..

frame2.setProperties(frame1.getProperties())......

-Deepak
sainideepak
 
Posts: 1
Joined: Mon Jun 13, 2011 6:07 am

Re: how to copy properties of one DocktableFrame to another

Postby JIDE Support » Thu Aug 25, 2011 10:49 am

I'm afraid not. However, we can now support XML layout format for DefaultDockingManager. You could invoke DefaultDockingManager#setXmlFormat(true) to let the layout file be in XML format and try to add your new frames into it.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 31 guests

cron