How to create two canvasses displaying the same universe
You can download example source code for this HowTo here.
This howto shows how to create two windows showing the same universe:
<source lang=”java” first-line=”21”; font-size: ‘100%’;”>
` // Open a hyperstack
` // Create a universe and show it
` // retrieve some info about the 1st canvas
` // Create a new canvas and add it
` // create a new window, add the canvas and show it
After creating the universe as usual, a new
ImageCanvas3D is created. To make it display the existing universe, it has to be registered with it. This is done with
All what is left to do is to create a new frame, add the canvas to it and finally show it.