jdk8-demo:swingset2-redux is a standalone update and reorganization of the swingset2 demo(s)
from the JDK samples1 for maven2, since they are still useful as a reference for using the various Swing package
classes which are still available newer JDKs.
- JDK 8 or 9+ with the
java.desktopmodule.
Running maven's package plugin will complile a self-contained swingset2-redux-VERSION.jar file in the target directory.
Most Java development envronments will already have maven (mvn) avilable in the command line.
mvn package
./mvnw package
mvnw.cmd package
java -jar target/swingset2-redux-VERSION.jar
- Replaced
netbeans/antwith 'maven'. - Rearranged source and resources into Maven layout including a Project Object Model (
pom.xml). - Added Maven wrapper plugin3 scripts.
Only minimal changes have been made to the original source as noted, leaving the original code and style in place including static code warnings for serialization, non-final fields, etc.
- Removed
SwingSet2Applet.javaandSwingSet2.htmlapplet plugin HTML page. - Removed
SwingSet2Appletfield, ctor arguments, getters, and checks fromSwingSet2.java.
1.0-SNAPSHOTcurent WIP.
artifactscontains non-source related documentation located in the same path locations from the originaldemodirectory.artifacts/demo/java-dot-com-slash-bsd-license.txt: text of the URL as referred to byartifacts/demo/DEMOS_LICENSEartifacts/IntelliJ/runConfigurations: IntelliJ IDE run configs.src: standard maven source and resources layout.