将Java程序绑定到Cocoa界面 [英] Bind Java program to Cocoa interface

查看:155
本文介绍了将Java程序绑定到Cocoa界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以将Java应用程序绑定到Cocoa图形界面?



我现在在Eclipse上工作,在我的Mac上,我想知道Interface Builder是否可以用来构建一个新的界面,以便我不必整天看Swing



任何想法/建议?谢谢!

解决方案

查看 Rococoa 。这是一个伟大的Java-Cocoa兼容性层,建立在 JNA 之上。



如果在文档中找不到您要查找的内容,请尝试邮件列表。 Rococoa开发人员非常有帮助。



我不是Cocoa / Objective-C专家,但是 NIB loading 可能是你要找的。

would it be possible to bind a Java application to a Cocoa graphical interface?

I'm working in Eclipse right now, on my mac, and am wondering if Interface Builder could be used to construct a new interface so that I don't have to look at Swing all day.

Any ideas/suggestions? Thanks!

解决方案

Check out Rococoa. It's a great Java-Cocoa compatibility layer that's built on top of JNA.

If you don't find what you are looking for in the documentation, try the mailing list. The Rococoa developers are very helpful.

P.S. I'm not a Cocoa/Objective-C expert, but the section on "NIB loading" might be what you're looking for.

这篇关于将Java程序绑定到Cocoa界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆