【发布时间】:2020-11-29 20:56:57
【问题描述】:
我正在使用一个 Swing 应用程序,它在我的计算机上显示的文本字体大小非常小。
有没有办法从命令行或使用某种配置文件(例如,swing.properties 文件)更改字体大小或某种 DPI 设置?
我无权访问源代码。
编辑:
自 Java 9 以来,小字体不再是问题。Swing has started to scale its GUI components depending on the screen resolution。
【问题讨论】: