jSWT

Pure Java port of a SWT subset to Android and GWT

Stars
19

jSWT

jSWT is a stab at a pure Java subset of SWT with Android and GWT bindings. Main motivation for this is to get FlowGrid running on different platforms without re-implementing the UI.

Component Support State

*) Still needs to be documented, probably some methods missing

Unsupported

  • Display event loop. JswtDemo shows how to work around this, maintaining full SWTcompatibility.

  • SWTDialogs rely on a blocking open()call, which won't work for GWT (and might be tricky to support on Android). One option might be to provide a showDialog(dialog, callback) method somewhere that would still work with SWT by calling open().

  • Dialogs with platform button placement are provided at JFaces level only unfortunately, which is beyond scope, and the GWT threading problem seems to persist there.