|
From: SourceForge.net <no...@so...> - 2007-02-08 17:01:58
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4147446 By: pandemic73 Thanks Joshua, The good thing is I am already using the StaticLayout for the copies, and the ISOMLayout for the original. The sad thing is that I do not understand how to do this.. arg. This is how I currently display the graph copies: --- 8< ------ sl_ = new StaticLayout(topology_); cr_ = new ConfigurationRenderer(ps); vv_ = new VisualizationViewer(sl_, cr_); vv_.setPickedState(ps); jf_.getContentPane().add(vv_); ------------ And I tried to add this line after creating the StaticLayout (top line in the snipet): sl_.initialize(orgLayout.getCurrentSize(), orgLayout); However, that did not go very well. Eh... nullpointer. I will continue to try to understand this, but if you *know* the answer, let me know. Thanks, Pan ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=252062 |