resizing the window , losing the drawings

View: New views
1 Messages — Rating Filter:   Alert me  

resizing the window , losing the drawings

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all ,
I am very new to this.

I am using J3d with my Swt program in eclipse. The problem is when I am resizing the window the drawings get lost. Could some one get me piece of code to place in a resize method  so that when I resize the canvas the drawing will be resized too i.e the ratio will be the same -1 to +1? please.

I am tring
   universe.getViewingPlatform().setNominalViewingTransform();
but this does not work on resize methiod.

please and thanks in advanse
[Message sent by forum member 'sumncc' (sumncc)]

http://forums.java.net/jive/thread.jspa?messageID=281253

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...

LightInTheBox - Buy quality products at wholesale price