Re: Choppy refresh problem with JLabels and JMenuItem accelerators



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

Small stylistic notes, not related to your primary question:

"thisClass" is a very misleading name for a variable that is neither a class nor points to 'this'.

Also, the convention for class names is that the first letter of each compound word part is capitalized, not the entire identifier (e.g., "SwingUtilities", not "SWINGUTILITIES") - so JRSCE should be "Jrsce", or better yet, a name that actually describes something about the class, e.g., "FlickerDemo".

May I further suggest that you choose an indent level smaller than 8 spaces? You run past the nominal 80-character line width much faster with such a large indent.

--
Lew
.