[英]Determine the size of caption windows 7 using java AWT
Is their a way to determine the size of window caption using Java AWT. 是他们使用Java AWT确定窗口标题大小的方法。 I just changed the caption size on my local windows 7 machine using (Start-> Control Panel -> Display ->Personalization -> Window color -> Advanced appearance settings. In the drop down select caption size and set it to 50.
我刚刚使用(开始 - >控制面板 - >显示 - >个性化 - >窗口颜色 - >高级外观设置更改了本地Windows 7机器上的标题大小。在下拉列表中选择标题大小并将其设置为50。
Any inputs on determining the caption size using Java AWT would be greatly helpful. 使用Java AWT确定字幕大小的任何输入都将非常有用。
Thanks 谢谢
The piece of code to do this is as follows: 执行此操作的代码如下:
Integer i = (Integer) Toolkit.getDefaultToolkit().getDesktopProperty
("win.frame.captionHeight");
System.out.println(i.intValue());
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.