【发布时间】:2011-09-21 15:14:48
【问题描述】:
我使用的是平台外观,在 Linux 上我的 JTextArea 非常易读 但在 Windows 上它使用“Monospaced 9”并且文本非常小。
为什么以及最好的解决方法是什么?
为什么默认的 Windows 外观在 JTextArea 中使用这么小的字体?
【问题讨论】:
-
hmm,无法重现:在我的系统 (Vista) 上,字体是等宽的 16。通常,WindowLookAndFeel 使用操作系统字体设置 - 所以您的系统设置可能太小了?你的win版本是什么?
标签: java swing look-and-feel jtextarea