替代 Java GUI 框架

2022-01-16 00:00:00 user-interface frameworks java

我正在 OS X 中使用 Java (Nim) 制作一个小型游戏编号游戏,并且正在考虑尝试使用 Swing 以外的其他工具制作游戏的 GUI 界面.我查看了 SWT,但我在某处读到 SWT 在 OS X 上存在一些问题.我还查看了用于 Java 的 GTK+ 绑定,但我也不确定这是否是一个不错的选择.你们有什么好的Java GUI 框架的建议吗?看起来不错并且与OS X 兼容?

谢谢

解决方案

这取决于,在 eclipse 3.4 中, for java.

I am making a small game number game in Java (Nim) in OS X and was thinking about trying to make the GUI interface of the game using something other than Swing. I looked at SWT, but I read somewhere that SWT has some problems with OS X. I also looked at GTK+ bindings for Java, but I am not sure if that's a good choice either. Do you guys have any suggestions for a good Java GUI Framework that would look good and be compatible with OS X ?

Thanks

解决方案

It depends, with eclipse 3.4, SWT 3.4 is quite supported with MacOs.

Now, SWT is OS specific, and you may not have the same flexibility than Swing, so you need to have good reason for looking for an alternative to Swing, especially when you consider there are good LAFs (look and feel) for java.

相关文章