Quote:
Originally posted by rock:
Well, it's an Object that has a paint() method. The object does contain an Image object, and that's what's flashing.
I can't be too specific for a couple reasons: 1) this is a new, unreleased product with a price point about an order of magnitude higher than what I bring home every month. And 2) I'm too scrupulous to turn this into an advertisement.
UPDATE:
I've split things up so I now have a create() method and an update() method. The create() does all the hard work once, then the update() does much less work. Without create a new Object each time now, the overall flashing is gone! Yeah! Kind of... Now it's still slow to respond.
I put prints at the start and end of each method, and when I click a JScrollBar, the stdout flashes along and all the prints show up immediately. Then, the panel is redrawn -- so I can't track down what's taking so long... Argh.
[This message has been edited by rock (edited September 21, 2001).]