Re: Choppy refresh problem with JLabels and JMenuItem accelerators



Alright, here's a SSCCE that seems to still capture the problem:
http://paste.uni.cc/18083

As you should be able to see, if you tap a key extremely rapidly
then it'll take one step at a time over and over just fine. But
if you hold a key down running from one edge to another then it'll
become laggy and only show every few 'frames' of movement.

So it seems I need either a different (faster) way to display and
get input, or a way to slow down how often a held key generates
Action Events. There might be a third option I'm not seeing.

Because of the nature of the game, I can't just update the
player's label only, since there will be many other creatures,
as well as "fog of war" being updated over a variable area
every turn. The exact area would depend on the shape of the level.

(On the same aside, I was using line width slightly less than
80 in the second post, which I figured was short enough for
everyone. Oh well.)
.