Runing trident Timeline on parentless Component

48 Views Asked by At

I try to play Timeline from Trident animation library on parentless component.

MyPanel mp = new MyPanel();
mp.startAnim(); //to interpolate property
//wait for a while
jPanel1.add(mp);

The property is not interpolated until the component is placed on the parent container.

Is it any possibility to force Timeline to execute 'scenario' in above described environment

0

There are 0 best solutions below