Showing part of an ImageIcon
问题 Bonjour, I'm trying my hand at animation, and have found myself a strip of explosions on a single image in a row. I want them to show one after the other in sequence to animate an explosion. Naturally, I'm thinking ImageIcon on JLabel , but when I looked at the JLabel spec I found this line: JLabel(Icon icon) -- Creates a JLabel instance with the specified image. The label is centered vertically and horizontally in its display area. I want to be able to show only part of a full image in the