How to display animation in a JTable cell

前端 未结 2 1410
离开以前
离开以前 2020-12-06 06:52

I am looking for a way to display an animated progress indicator (animated GIF, a rotating wheel rendered through Java2D etc., no preference here) in a table cell until the

2条回答
  •  天命终不由人
    2020-12-06 07:34

    First I went with the same idea Nick Fortescue had (Method2). However just after that I stumbled across

    The rabbit hole blog

    where the author provides very usefu classes for animated icons (based on GIFs) as well as a Java2D drawn infinite progress indicator (the famous Mac OS X like spinning wheel) which I could just drop into my application without having to worry about too much painting myself.

    However had I not found these, Nick's way would have been it.

提交回复
热议问题