I Have 1 single java app. ONly Containing 1 JMenu with 48 JMenuItem(s).
Each JMenuItems i set the Icon with Animated GIF.
I have no problem creating it.
And I also have no problem when Running it.
But the problem came, when I running it, and then viewing the JMenuItem.
My GIF(s) Animation seems consuming the PC Process very high!
And the ANimation seems jumping too fast! It’s not the usual animation framerate, tough.
So anytime when I run the java app, and then trying the JMenuItem, The CPU Process
is getting higher…!
Look at this Preview: It’s taken when My java app runs.
What’s the best way to solve this?
I have found the solutions guys! The GIF Animation has lots of frames. In each frames they have their own timing. When I reopened one single GIF Animation File, I could see clearly that the 0-time framerate is the problem. Now I should Changed it to somewhat above 0.1 framerate, that’s all problem solved.