Dear Reader,

I would like to start my animation thread just after the window shows up.
How can I detect when this would happen. Currently, I have a lame way of
doing it:

    class AnimatorCanvas3D extends Canvas3D {
           :
        public void postSwap() {
            super.postSwap();
            if ( null == animator ) {
                setupInitialTransformation();

                animator = new Thread( parent );
                animator.start();
            }
        }
    }

Thanks,

Kovalan

Reply via email to