Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Sun, 13 Jan 2008 11:45:02 -0500
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
.
- References:
- Choppy refresh problem with JLabels and JMenuItem accelerators
- From: Daniel Gee
- Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- From: Andrew Thompson
- Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- From: Daniel Gee
- Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- From: Andrew Thompson
- Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- From: Daniel Gee
- Choppy refresh problem with JLabels and JMenuItem accelerators
- Prev by Date: Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- Next by Date: Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- Previous by thread: Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- Next by thread: Re: Choppy refresh problem with JLabels and JMenuItem accelerators
- Index(es):