swingを色々弄っています。
例えばボタンを押した時にカウントダウンを始める、等のように、
少しアニメーションっぽく表示させたいのですが、
途中結果が表示されずに結果のみ表示されてしまうのはどうしてでしょうか?

class Action implements ActionListener {
 public void actionPerformed(ActionEvent event) {
  testBtn.setEnabled(false);
  for (int i = 5; i >= 0; i--) {
   testLabel.setText(i + "秒");
   try {
    Thread.sleep(1000);
   } catch (InterruptedException e ) {
    
   }
  }
  testBtn.setEnabled(true);
}