简体   繁体   English

OS X:如何加速Java / Swing GUI?

[英]OS X: How to speed-up Java/Swing GUI?

I have a Mac mini with 2GHz-Core2Duo/2GB RAM and a HP-Notebook running Windows 7 with identical hardware. 我有一台配备2GHz-Core2Duo / 2GB RAM的Mac mini和一台运行Windows 7且硬件相同的HP笔记本电脑。 For our Java desktop application I'm using Quaqua and Windows look and feel, respectively. 对于我们的Java桌面应用程序,我分别使用Quaqua和Windows外观。 On OS X the whole application feels much more sluggish than the one running on Windows 7, especially the rendering. 在OS X上,整个应用程序感觉比在Windows 7上运行的应用程序更加缓慢,尤其是渲染。

Are there some options for OS X to speed-up the GUI? OS X是否有一些选项可以加速GUI?

Update: I've set the VM property apple.awt.graphics.UseQuartz to true and false but this did not change the subjective performance on OS X 10.6. 更新:我已将VM属性apple.awt.graphics.UseQuartz设置为true和false但这并未改变OS X 10.6上的主观性能。

Did You try disabling Quaqua and using core Swing LAF instead? 您是否尝试禁用Quaqua并使用核心Swing LAF? If it's faster than the fault is on Quaqua's implementation side. 如果它比Quaqua的实施方面的故障更快。 If you find this being true, but wanting more native experience I would recommend: Mac Widgets for Java and building separate interface for Mac from ground up. 如果你发现这是真的,但想要更多的原生经验,我建议: Mac Widgets for Java并从头开始为Mac构建单独的界面。

Look at this: http://www.appletell.com/apple/comment/a-breath-of-graphics-life-for-your-older-mac/ It is a software accelerator for your graphics chip. 看看这个: http//www.appletell.com/apple/comment/a-breath-of-graphics-life-for-your-older-mac/它是你的图形芯片的软件加速器。 Use with caution . 谨慎使用
If you Google mac-mini graphics performance you will see that the previous generation macs had slower graphics performance. 如果您使用Google mac-mini图形性能,您会发现上一代mac的图形性能较低。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM