Reputation: 6281
I made a Java Applet with some Standard GUI Components on it. I used the MigLayout Manager.
If I move the mouse slowly over the various GUI Components everything appears to be fine, but if I move the mouse fast, it flickers.
What could make that nasty ugly redraw? (Core 2 Duo 6300, 2GB Ram, Windows XP)
Upvotes: 2
Views: 1218
Reputation: 6281
I found the bugger: I used a custom ClosableTabbedPaint Class.
Upvotes: 0
Reputation: 39030
One thought would be to check your code (and/or the MigLayout code) for unnecessary repaint()
operations.
Custom UIs and layouts can cause weird problems sometimes...
Upvotes: 3
Reputation: 6707
you could use double buffering in java applet to improve screen refreshing speed. ask more if details needed..
Upvotes: 0