Hi Sergey, > Is it possible to add an automated test for this use case?
I have added an automated test. Here is the updated webrev : http://cr.openjdk.java.net/~trebari/swing/8223788/webrev1/ <http://cr.openjdk.java.net/~trebari/swing/8223788/webrev1/> Tested on Mac,Windows and Linux , with and without the fix. Regards Tejpal