Skip to main content

resizing the window , losing the drawings

No replies
Joined: 2008-06-19

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
but this does not work on resize methiod.

please and thanks in advanse