Skip to main content
1 vote

Resize JPanel with animation

Try to use only one timer and add a boolean to track the direction and make sure that the animation is happening in one direction public class Main { private static final int INITIAL_HEIGHT = 150; ...
Souhaila's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible