swing: fix 02a8af5857ca17161f6b1cfd817f414a60c21213