]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Fixed TrendView.setFocus to not deadlock 53/1453/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 13 Feb 2018 14:59:55 +0000 (16:59 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 13 Feb 2018 14:59:55 +0000 (16:59 +0200)
commitbf0d5b733460c13ca09055e08ecc7f555c88e153
tree71a72b0f0cdc44365ffe17c469d893fc9768becd
parentfc5e9e68768392c6d9e63d3d821b9ecd2996b9fc
Fixed TrendView.setFocus to not deadlock

Calling JPanel.requestFocus from SWT thread is a surefire way to lock
the UI up.

refs #7763

Change-Id: I5f68bba426fe47ca9c1b529986628ecd3c9ec1fb
bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/trend/TrendView.java