I've been having trouble with the first pixel-looking or illegible. I thought I'd done something stupid. So I built a small example to isolate the problem.
Then by accident I found the cause: creating the objects on the right thread. Can you guess which thread is "right"? Here's the code and some sample output.
( Read more...Collapse )Any ideas why this happens? I have a work-round (add one to the JTextField's preferred width), but I'd like an explanation.