[ui] get rid of usage of internal HeadlessToolkit class in UIUtil
authorNikolay Chashnikov <Nikolay.Chashnikov@jetbrains.com>
Wed, 12 Aug 2020 14:58:17 +0000 (17:58 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 12 Aug 2020 17:09:06 +0000 (17:09 +0000)
commit1b9308a917711675ebcba64218bd947657fe46d5
treec5b0404123eca62310beb62b86d067672ee81417
parent49481d051ba52d1f1b32f5dbafd0693800a0a9c6
[ui] get rid of usage of internal HeadlessToolkit class in UIUtil

This is needed to be able to compile intellij.platform.util.ui module using JDK 11 (IDEA-248086).

GitOrigin-RevId: f190e1f498d7c8c915a2db9ba8797ff9c183671a
platform/util/ui/src/com/intellij/util/ui/UIUtil.java