bulenkov / Darcula

Darcula Look and Feel
Apache License 2.0
723 stars 114 forks source link

CPU eating paint loop #52

Open davidekholm opened 5 years ago

davidekholm commented 5 years ago

I've noticed that when using the Darcula Look&Feel in combination with a JComboBox that's editable (simply call setEditable(true)), then the whole UI gets thrown in a never ending repaint loop, thereby eating precious CPU cycles.

Tested on Mac and Windows. Changing Look and Feel makes it behave again.

To see the bug in action, open jAlbum software (http://jalbum.net), then open Settings->Tiger and watch the CPU meter. Switch to any other tab and the problem is gone.