I'm making a GUI for my board game, and I want to have a better animation display. My question is how can I change the appearance(height or width) of an image in double buffering as it animate. More specifically, In my program, how can the arrow image loop like a conveyor belt? Like it will gradually decrease its width started from the right side.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org