简体   繁体   English

Mac OS X 10.5上的SWT和Java WebStart

[英]SWT and Java WebStart on Mac OS X 10.5

I am using the most stable SWT Cocoa downloads for Mac OS X and and launching my app via Java WebStart. 我正在使用Mac OS X上最稳定的SWT Cocoa下载,并通过Java WebStart启动我的应用程序。 All jnilib files are within my app jar on its root. 所有jnilib文件都位于我的应用jar的根目录中。 The app downloads, verifies, but I cannot get any buttons to respond. 该应用程序已下载,验证,但我无法获得任何按钮进行响应。 I can enter data into all my UI components. 我可以将数据输入到我的所有UI组件中。 My VM arguements are "-d32" and "-XstartOnFirstThread". 我的VM争论是“ -d32”和“ -XstartOnFirstThread”。

The app works fine as a stand alone app bundle (running in 32-bit mode), and works fine running out of Eclipse on the same machine. 该应用程序可以作为独立的应用程序捆绑包正常运行(以32位模式运行),并且可以在同一台计算机上的Eclipse中正常运行。

Is there a known issue with Cocoa SWT (swt-3.5-cocoa-macosx.zip) and WebStart on Mac? Mac上的Cocoa SWT(swt-3.5-cocoa-macosx.zip)和WebStart是否存在已知问题? The JNLP is pretty standard, so maybe there is a setting that needs to be declared? JNLP是相当标准的,因此也许需要声明一个设置?

This appears to be fixed in swt cocoa 3.6 M2 for mac osx. 对于Mac OS X,这似乎已在swt cocoa 3.6 M2中修复。 The issue was MouseUp and MouseDown events did not fire. 问题是MouseUp和MouseDown事件没有触发。 If using a earlier version than this one, SWT.Selection worked ok for buttons. 如果使用的版本早于此版本,则SWT.Selection对于按钮可以正常工作。

从SWT 3.0开始,这似乎是OS X上SWT中的一个已知错误: Bug 63306

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

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