Posted by xylifyx
on March 22, 2008 at 10:55 AM PDT
The Scene graph demos I have seen are very unresponsive to size changes of the surrounding component. In real life applications the user will experience this as strange. I have tried to come up with a suggestion to an extension to scenegraph that will change that.
the source code is here
The basic principle is to extend SGNode that supports relocation or resizing with a setBounds method, and use the getBounds method that already exists to get the extension of the node.
Using animation you can create fancy layoutmanager like SGGroup nodes that doesn't look like anything you can do in Swing. Check out the webstart demo and
what do you think?