Complete list
SWT and QT are excluded from the review because they’re not pure Java and require special installation of native components/libraries.
JGoodies
- Version: Forms 1.8.0
- Download here
- Advantages
- Downloadable sample Java applications (jar)
- Works on Raspberry Pi (verified)
- Large set of components
- Binding, MVC
- Disadvantages
- No documentation
- Not free
- Latest version is not in Maven repository
- Latest version for Maven: Forms 1.7.2
Apache Pivot
- Version: 2.0.4
- Advantages
- Latest version in Maven repository
- Works on Raspberry Pi (verified)
- Free
- Large set of components
- Special language (BXML) for components layout
- Disadvantages
- No samples as Java application in jar files
- Applications can be extracted from from “webapps/pivot-tutorials.war“
- No on-line documentation
- Samples only for web-start or as applets (not easy to run because of browser/Java permissions etc.)
- No samples as Java application in jar files
Running stand-alone examples (tutorials)
- Download apache-pivot-2.0.4.zip from “Binary Distributions” section here.
- Extract archive files
- Unzip apache-pivot-2.0.4/webapps/pivot-tutorials.war
- Extract all jar files from pivot-tutorials.war/lib directory:
- pivot-charts-2.0.4.jar
- pivot-core-2.0.4.jar
- pivot-tutorials-2.0.4.jar
- pivot-web-2.0.4.jar
- pivot-wtk-2.0.4.jar
- pivot-wtk-terra-2.0.4.jar
- svgSalamander-tiny.jar
- Create file sample.sh (executable) with following content:
export DISPLAY=:0.0 java -cp pivot-charts-2.0.4.jar:pivot-core-2.0.4.jar:pivot-tutorials-2.0.4.jar:pivot-web-2.0.4.jar:pivot-wtk-2.0.4.jar:pivot-wtk-terra-2.0.4.jar:svgSalamander-tiny.jar org.apache.pivot.tutorials.KitchenSink
- Run sample.sh
- Update class name org.apache.pivot.tutorials.KitchenSink in sh file to run other tutorials:
- org.apache.pivot.tutorials.HelloBXML
- org.apache.pivot.tutorials.HelloJava
- org.apache.pivot.tutorials.explorer.ComponentExplorer
- org.apache.pivot.tutorials.stocktracker.StockTracker
- More class names/packages can be browsed in Pivot source code repository.
Running example at Pi start
See LXDE solution at http://raspberrypi.stackexchange.com/questions/8734/execute-script-on-start-up
SwingX
Not really a separate library. All stable components are already included into standard Java Swing library.
Swing
Already included in Java basic installation, so the version depend on installed JVM.
- Advantages
- No need to include a library in the application (already included in Java Runtime)
- Pretty good documented
- Disadvantages
- Old programming paradigm
- Less components
- Bad look and feel