开发者

Why running Java UI without SUDO breaks GUI appearance?

开发者 https://www.devze.com 2023-01-06 22:55 出处:网络
Why running application with SUDO changes GUI appearance? I.e.Button background, Button size, JTree appearance are behaving differently depending on how the GUI was started with SUDO or not.

Why running application with SUDO changes GUI appearance?

I.e.Button background, Button size, JTree appearance are behaving differently depending on how the GUI was started with SUDO or not.

Will appreciate your suggestio开发者_运维技巧ns. Thank you


You don't give much in the way of detail. Presumably root has paths and/or environment variables set up differently. I would guess that java -fullversion and sudo java -fullversion will give different results.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号