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.desktop
module.
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/ant
with '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.java
andSwingSet2.html
applet plugin HTML page. - Removed
SwingSet2Applet
field, ctor arguments, getters, and checks fromSwingSet2.java
.
1.0-SNAPSHOT
curent WIP.
artifacts
contains non-source related documentation located in the same path locations from the originaldemo
directory.artifacts/demo/java-dot-com-slash-bsd-license.txt
: text of the URL as referred to byartifacts/demo/DEMOS_LICENSE
artifacts/IntelliJ/runConfigurations
: IntelliJ IDE run configs.src
: standard maven source and resources layout.