Windows 8/10 上的 NetBeans IDE 扩展 [英] NetBeans IDE scaling on Windows 8/10
问题描述
我正在尝试在具有高 DPI 的屏幕上在 Windows 8.1 下运行 NetBeans.Windows 本身已启用 400% 的缩放,其他一切看起来都很好.
I'm trying to run NetBeans under Windows 8.1 on a screen with a high DPI. Windows itself has scaling enabled to 400% and everything else looks just fine.
但是,当我启动 NetBeans 时,它运行时好像没有启用缩放,我只能在 IDE 中看到很小的字母.我确实检查了 IDE 启动的属性,并且他们确实选中了为此程序启用缩放".
However, when I start NetBeans, it runs as if there's no scaling enabled and I just see tiny little letters in the IDE. I did check the properties under which the IDE starts and they do have "Enable scaling for this program" checked.
我可以增加编辑器和错误日志中的字体大小,这至少可以让我查看我在屏幕上输入的内容,但是,所有菜单、侧边栏、面板等仍然很小尝试与之合作非常不舒服.那么知道如何使 NetBeans 与 Windows 8.1 一起扩展吗?目前使用的是 NetBeans 8.0.
I could increase font size in the editor and the error log, which would at least enable me to view what I'm typing on the screen, however, all menus, side-bars, panels, etc, remain very small which is very uncomfortable trying to work with. So any idea how I can make NetBeans scale with Windows 8.1? Currently using NetBeans 8.0.
推荐答案
- 打开 C:Program FilesNetBeans 8.0etc etbeans.conf
- 将
-J-Dsun.java2d.dpiaware=true
改为-J-Dsun.java2d.dpiaware=false
- Open C:Program FilesNetBeans 8.0etc etbeans.conf
- Change
-J-Dsun.java2d.dpiaware=true
to-J-Dsun.java2d.dpiaware=false
这篇关于Windows 8/10 上的 NetBeans IDE 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!