gpt4 book ai didi

java - 韩文字符在 JTextField 上显示为空框

转载 作者:搜寻专家 更新时间:2023-11-01 03:17:49 25 4
gpt4 key购买 nike

JTextfield 不能正确显示韩文字符。它显示空框而不是字符。这是我的应用程序的屏幕截图。

boxes instead of Korean charaters

最佳答案

那是因为你使用的字体。

根据这个oracle document Lucida 字体不支持韩文字母。

Note that of the writing systems that are generally fully supported by the JRE, the Lucida fonts do not support Chinese (Simplified), Chinese (Traditional), Japanese, and Korean.

因此,如果您使用支持韩语的字体,它将正常工作。

关于java - 韩文字符在 JTextField 上显示为空框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42244385/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com