Container contCenter = new Container(BorderLayout.absolute());
splash.add(BorderLayout.CENTER, contCenter);
int time = 3000; // 3 seconds
InfiniteProgress ip = new InfiniteProgress();
ip.setAnimation(logo);
ip.setAngleIncrease(Math.round(time / (360 * 2))); // 2
rotations
ip.setX(logo.getWidth() * -1);
contCenter.add(ip);
contCenter.animateLayoutAndWait(time);
contCenter.replace(ip, labelWithSameLogo, null);
// Continue other animations
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/ca3c3245-299a-4e48-9441-40d41c454293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.