3 ms·
The article doesn’t mention SWT :( I used SWT to create desktop UI prototypes. The biggest issue of SWT is the distribution channel: to use the usual Maven rep
by diegof79 6y ago
The article doesn’t mention SWT :(
I used SWT to create desktop UI prototypes. The biggest issue of SWT is the distribution channel: to use the usual Maven repo you need a non-official package (this was around 2017). But other than that is a decent UI lib: it uses native widgets, it supports HiDPI, the layout using attachments are easier than Swing.
I wonder why SWT is not popular in the JVM (my guess is the decision to distribute it using Eclipse p2 by default, and the lack of visibility outside Eclipse)
- ptx 6y agoThey finally have official[1] Maven packages[2] now! I have no idea what the version numbers are supposed to mean though. Or what's a good way to choose the correct platform-specific JAR in your build. [1] Links under "Maven Artifacts": https://www.eclipse.org/swt/ https://www.eclipse.org/swt/ [2] https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.swt.gtk.linux.x86_64 https://mvnrepository.com/artifact/org.eclipse.platform/org....