diff --git a/assignments/nbproject/project.xml b/assignments/nbproject/project.xml index ec9c9401e07d97eb2d28c832cc9985585aeb9f06..f4711c4a46f519e15f88ca993b41da9231b32773 100644 --- a/assignments/nbproject/project.xml +++ b/assignments/nbproject/project.xml @@ -4,6 +4,7 @@ <configuration> <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <name>Networked Graphics MV3500 assignments</name> + <explicit-platform explicit-source-supported="true"/> <source-roots> <root id="src.dir"/> </source-roots> diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework1/Romero/Homework.java b/assignments/src/MV3500Cohort2024JulySeptember/homework1/Romero/Homework.java index a0637cddd318395015c3fa6288232eeae8986b8d..396d1cfa5ffc06c7de4ad9612cfc1218b13b38a5 100644 --- a/assignments/src/MV3500Cohort2024JulySeptember/homework1/Romero/Homework.java +++ b/assignments/src/MV3500Cohort2024JulySeptember/homework1/Romero/Homework.java @@ -1,14 +1,7 @@ package MV3500Cohort2024JulySeptember.homework1.Romero; -/** - * - * @author rojas - */ public class Homework { - /** - * @param args the command line arguments - */ public static void main(String args[]) { System.out.println("Hello world!"); } diff --git a/examples/nbproject/project.properties b/examples/nbproject/project.properties index b0f27ba21430babba5e31e0c6d9018597a3f2089..bfa08a8d90d76ef73503d1b02ed5df067fb6f5dd 100644 --- a/examples/nbproject/project.properties +++ b/examples/nbproject/project.properties @@ -1,117 +1,117 @@ -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -application.desc=Example programs provided as part of NPS course Networked Graphics MV3500. This course is an introduction to network communications in simulation applications. Topics include an introduction to the TCP/IP protocol stack; TCP/IP socket communications, including TCP, UDP, and multicast; and protocol design issues, with emphasis on Distributed Interactive Simulation (DIS) Protocol and High Level Architecture (HLA). Course emphasis is on creation and testing of network programming network code and web-browser applications. -application.homepage=https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/tree/master/examples -application.splash=..\\..\\NetworkedGraphicsMV3500\\documentation\\images\\OpenDisSurferDude.png -application.title=NPS Networked Graphics MV3500 examples -application.vendor=Don Brutzman -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -# Uncomment to specify the preferred debugger connection transport: -#debug.transport=dt_socket -debug.classpath=\ - ${run.classpath} -debug.modulepath=\ - ${run.modulepath} -debug.test.classpath=\ - ${run.test.classpath} -debug.test.modulepath=\ - ${run.test.modulepath} -# Files in build.classes.dir which should be excluded from distribution jar -dist.archive.excludes= -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/Networked_Graphics_MV3500_examples.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -file.reference.dis-enums-1.3.jar=../lib/dis-enums-1.3.jar - -file.reference.opendis7-full.jar=../lib/opendis7-full.jar -file.reference.open-dis_4.16.jar=../lib/open-dis_4.16.jar -file.reference.simkit-doc.zip=../lib/simkit-doc.zip -file.reference.simkit-src.zip=../lib/simkit-src.zip -file.reference.simkit.jar=../lib/simkit.jar -#file.reference.opendis7-enumerations-classes.jar=../lib/opendis7-enumerations-classes.jar -#file.reference.opendis7-pdus-classes.jar=../lib/opendis7-pdus-classes.jar -includes=** -jar.compress=false -javac.classpath=\ - ${file.reference.opendis7-full.jar}:\ - ${file.reference.open-dis_4.16.jar}:\ - ${file.reference.dis-enums-1.3.jar}:\ - ${file.reference.simkit.jar}:\ - ${file.reference.simkit-doc.zip}:\ - ${file.reference.simkit-src.zip} -# ${file.reference.opendis7-enumerations-classes.jar}:\ -# ${file.reference.opendis7-pdus-classes.jar}:\ - -# Space-separated list of extra javac options -javac.compilerargs=-Xlint:deprecation -Xlint:unchecked -javac.deprecation=false -javac.external.vm=true -javac.modulepath= -javac.processormodulepath= -javac.processorpath=\ - ${javac.classpath} -javac.source=22 -javac.target=22 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -javac.test.modulepath=\ - ${javac.modulepath} -javac.test.processorpath=\ - ${javac.test.classpath} -javadoc.additionalparam=-header "NPS Networked Graphics MV3500 Examples" -javadoc.author=true -javadoc.encoding=${source.encoding} -javadoc.html5=false -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -#javadoc.reference.opendis7-enumerations-classes.jar=../lib/opendis7-enumerations-javadoc.jar -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle=MV3500 Examples -jlink.launcher=false -jlink.launcher.name=Networked_Graphics_MV3500_examples -main.class=TcpExamples.TcpExample1Telnet -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project. -# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. -# To set system properties for unit tests define test-sys-prop.name=value: -run.jvmargs= -run.modulepath=\ - ${javac.modulepath} -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -run.test.modulepath=\ - ${javac.test.modulepath} -source.encoding=UTF-8 -#source.reference.opendis7-enumerations-classes.jar=../lib/opendis7-enumerations-source.jar -src.dir=src -src.src.dir=otherProjects\\DisDemo\\src -src.src2.dir=otherProjects\\DisShooting\\src -src.src3.dir=otherProjects\\WebSocketGateway\\src -#src.src4.dir=otherProjects\\BasicServletDemo\\src +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +application.desc=Example programs provided as part of NPS course Networked Graphics MV3500. This course is an introduction to network communications in simulation applications. Topics include an introduction to the TCP/IP protocol stack; TCP/IP socket communications, including TCP, UDP, and multicast; and protocol design issues, with emphasis on Distributed Interactive Simulation (DIS) Protocol and High Level Architecture (HLA). Course emphasis is on creation and testing of network programming network code and web-browser applications. +application.homepage=https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/tree/master/examples +application.splash=..\\..\\NetworkedGraphicsMV3500\\documentation\\images\\OpenDisSurferDude.png +application.title=NPS Networked Graphics MV3500 examples +application.vendor=Don Brutzman +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.modulepath=\ + ${run.modulepath} +debug.test.classpath=\ + ${run.test.classpath} +debug.test.modulepath=\ + ${run.test.modulepath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/Networked_Graphics_MV3500_examples.jar +dist.javadoc.dir=${dist.dir}/javadoc +endorsed.classpath= +excludes= +file.reference.dis-enums-1.3.jar=../lib/dis-enums-1.3.jar + +file.reference.opendis7-full.jar=../lib/opendis7-full.jar +file.reference.open-dis_4.16.jar=../lib/open-dis_4.16.jar +file.reference.simkit-doc.zip=../lib/simkit-doc.zip +file.reference.simkit-src.zip=../lib/simkit-src.zip +file.reference.simkit.jar=../lib/simkit.jar +#file.reference.opendis7-enumerations-classes.jar=../lib/opendis7-enumerations-classes.jar +#file.reference.opendis7-pdus-classes.jar=../lib/opendis7-pdus-classes.jar +includes=** +jar.compress=false +javac.classpath=\ + ${file.reference.opendis7-full.jar}:\ + ${file.reference.open-dis_4.16.jar}:\ + ${file.reference.dis-enums-1.3.jar}:\ + ${file.reference.simkit.jar}:\ + ${file.reference.simkit-doc.zip}:\ + ${file.reference.simkit-src.zip} +# ${file.reference.opendis7-enumerations-classes.jar}:\ +# ${file.reference.opendis7-pdus-classes.jar}:\ + +# Space-separated list of extra javac options +javac.compilerargs=-Xlint:deprecation -Xlint:unchecked +javac.deprecation=false +javac.external.vm=true +javac.modulepath= +javac.processormodulepath= +javac.processorpath=\ + ${javac.classpath} +javac.source=22 +javac.target=22 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.modulepath=\ + ${javac.modulepath} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam=-header "NPS Networked Graphics MV3500 Examples" +javadoc.author=true +javadoc.encoding=${source.encoding} +javadoc.html5=false +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +#javadoc.reference.opendis7-enumerations-classes.jar=../lib/opendis7-enumerations-javadoc.jar +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle=MV3500 Examples +jlink.launcher=false +jlink.launcher.name=Networked_Graphics_MV3500_examples +main.class=TcpExamples.TcpExample1Telnet +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=JDK_22 +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.modulepath=\ + ${javac.modulepath} +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +run.test.modulepath=\ + ${javac.test.modulepath} +source.encoding=UTF-8 +#source.reference.opendis7-enumerations-classes.jar=../lib/opendis7-enumerations-source.jar +src.dir=src +src.src.dir=otherProjects\\DisDemo\\src +src.src2.dir=otherProjects\\DisShooting\\src +src.src3.dir=otherProjects\\WebSocketGateway\\src +#src.src4.dir=otherProjects\\BasicServletDemo\\src diff --git a/examples/nbproject/project.xml b/examples/nbproject/project.xml index f5f157622ab4c19c9734925d324f1c6708b51adb..bd4589c403c0307b9edb0d25126b2a5fe03ae4bf 100644 --- a/examples/nbproject/project.xml +++ b/examples/nbproject/project.xml @@ -1,91 +1,92 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://www.netbeans.org/ns/project/1"> - <type>org.netbeans.modules.java.j2seproject</type> - <configuration> - <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> - <name>Networked Graphics MV3500 examples</name> - <source-roots> - <root id="src.dir"/> - <root id="src.src.dir"/> - <root id="src.src2.dir"/> - </source-roots> - <test-roots/> - </data> - <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1"> - <word>accessor</word> - <word>autogeneration</word> - <word>classpath</word> - <word>CommentPdu</word> - <word>CourseExamples</word> - <word>createDatagramSocket</word> - <word>createThreads</word> - <word>customizable</word> - <word>Cygwin</word> - <word>Datagram</word> - <word>datagramSocket</word> - <word>deserialization</word> - <word>DisChannel</word> - <word>DisPduType</word> - <word>DisThreadedNetworkInterface</word> - <word>docx</word> - <word>ExampleSimulationProgram</word> - <word>ExampleTrackInterpolation</word> - <word>getEspduCount</word> - <word>getNetworkAddress</word> - <word>getNetworkPort</word> - <word>gitlab</word> - <word>html</word> - <word>initialLocation</word> - <word>instantiable</word> - <word>interarrival</word> - <word>interpolators</word> - <word>ipconfig</word> - <word>isAlive</word> - <word>isClosed</word> - <word>isConnected</word> - <word>isInterrupted</word> - <word>javadoc</word> - <word>joinGroup</word> - <word>killThread</word> - <word>latestLocation</word> - <word>leaveGroup</word> - <word>localhost</word> - <word>loopback</word> - <word>marshalling</word> - <word>multicast</word> - <word>NetBeans</word> - <word>netcat</word> - <word>NPS</word> - <word>pdu</word> - <word>PduCaptureLog</word> - <word>pduLog</word> - <word>PduRecorder</word> - <word>PDUs</word> - <word>pduSentList</word> - <word>pduTrack</word> - <word>png</word> - <word>prepended</word> - <word>receiveThread</word> - <word>runSimulation</word> - <word>sendingThread</word> - <word>setKillSentinelAndInterrupts</word> - <word>simkit</word> - <word>simulationComplete</word> - <word>simulationists</word> - <word>src</word> - <word>subclassed</word> - <word>subpackage</word> - <word>TcpExamples</word> - <word>teardown</word> - <word>thisHostName</word> - <word>timestep</word> - <word>TrackSimulationProgram</word> - <word>txt</word> - <word>UdpMulticastHttpExamples</word> - <word>unicast</word> - <word>waypoint</word> - <word>waypoints</word> - <word>Wireshark</word> - </spellchecker-wordlist> - </configuration> -</project> +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://www.netbeans.org/ns/project/1"> + <type>org.netbeans.modules.java.j2seproject</type> + <configuration> + <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> + <name>Networked Graphics MV3500 examples</name> + <explicit-platform explicit-source-supported="true"/> + <source-roots> + <root id="src.dir"/> + <root id="src.src.dir"/> + <root id="src.src2.dir"/> + </source-roots> + <test-roots/> + </data> + <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1"> + <word>accessor</word> + <word>autogeneration</word> + <word>classpath</word> + <word>CommentPdu</word> + <word>CourseExamples</word> + <word>createDatagramSocket</word> + <word>createThreads</word> + <word>customizable</word> + <word>Cygwin</word> + <word>Datagram</word> + <word>datagramSocket</word> + <word>deserialization</word> + <word>DisChannel</word> + <word>DisPduType</word> + <word>DisThreadedNetworkInterface</word> + <word>docx</word> + <word>ExampleSimulationProgram</word> + <word>ExampleTrackInterpolation</word> + <word>getEspduCount</word> + <word>getNetworkAddress</word> + <word>getNetworkPort</word> + <word>gitlab</word> + <word>html</word> + <word>initialLocation</word> + <word>instantiable</word> + <word>interarrival</word> + <word>interpolators</word> + <word>ipconfig</word> + <word>isAlive</word> + <word>isClosed</word> + <word>isConnected</word> + <word>isInterrupted</word> + <word>javadoc</word> + <word>joinGroup</word> + <word>killThread</word> + <word>latestLocation</word> + <word>leaveGroup</word> + <word>localhost</word> + <word>loopback</word> + <word>marshalling</word> + <word>multicast</word> + <word>NetBeans</word> + <word>netcat</word> + <word>NPS</word> + <word>pdu</word> + <word>PduCaptureLog</word> + <word>pduLog</word> + <word>PduRecorder</word> + <word>PDUs</word> + <word>pduSentList</word> + <word>pduTrack</word> + <word>png</word> + <word>prepended</word> + <word>receiveThread</word> + <word>runSimulation</word> + <word>sendingThread</word> + <word>setKillSentinelAndInterrupts</word> + <word>simkit</word> + <word>simulationComplete</word> + <word>simulationists</word> + <word>src</word> + <word>subclassed</word> + <word>subpackage</word> + <word>TcpExamples</word> + <word>teardown</word> + <word>thisHostName</word> + <word>timestep</word> + <word>TrackSimulationProgram</word> + <word>txt</word> + <word>UdpMulticastHttpExamples</word> + <word>unicast</word> + <word>waypoint</word> + <word>waypoints</word> + <word>Wireshark</word> + </spellchecker-wordlist> + </configuration> +</project> diff --git a/nbproject/nbjdk.properties b/nbproject/nbjdk.properties index 3033a8abbe8c94d80e50e14c39c869aee52fbf88..9ab3ae82957c453a85904345468ba0df5c49f094 100644 --- a/nbproject/nbjdk.properties +++ b/nbproject/nbjdk.properties @@ -1 +1 @@ -nbjdk.active=default_platform +nbjdk.active=JDK_22 diff --git a/nbproject/project.xml b/nbproject/project.xml index 7e9ae99737f9146c0b175e6431a5bcebb28391ca..98262e5cdb723cbe528386f028872bbc3475439d 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -1,65 +1,65 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://www.netbeans.org/ns/project/1"> - <type>org.netbeans.modules.ant.freeform</type> - <configuration> - <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> - <name>Networked Graphics MV3500</name> - </general-data> - <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2"> +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://www.netbeans.org/ns/project/1"> + <type>org.netbeans.modules.ant.freeform</type> + <configuration> + <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> + <name>Networked Graphics MV3500</name> + </general-data> + <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2"> <!-- Do not use Project Properties customizer when editing this file manually. To prevent the customizer from showing, create nbproject/project.properties file and enter auxiliary.show.customizer=false property there. Adding auxiliary.show.customizer.message=<message> - will show your customized message when someone attempts to open the customizer. --> - <name>Networked Graphics MV3500</name> - <properties/> - <folders> - <source-folder> - <label>Networked Graphics MV3500</label> - <location>.</location> - <encoding>UTF-8</encoding> - </source-folder> - </folders> - <ide-actions/> - <view> - <items> - <source-file> - <location>build.xml</location> - </source-file> - </items> - <context-menu/> - </view> - <subprojects/> - </general-data> - <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1"/> - <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1"> - <word>archivally</word> - <word>autogenerated</word> - <word>brutzman</word> - <word>codebase</word> - <word>codebases</word> - <word>DIS</word> - <word>gitlab</word> - <word>html</word> - <word>https</word> - <word>IITSEC</word> - <word>integrators</word> - <word>interoperability</word> - <word>interoperable</word> - <word>Javadoc</word> - <word>LVC</word> - <word>McGregor</word> - <word>multicast</word> - <word>NPS</word> - <word>opendis</word> - <word>PDUs</word> - <word>Redistributions</word> - <word>TENA</word> - <word>UML</word> - <word>wargaming</word> - <word>WebRTC</word> - <word>Wikipedia</word> - </spellchecker-wordlist> - </configuration> -</project> + will show your customized message when someone attempts to open the customizer. --> + <name>Networked Graphics MV3500</name> + <properties/> + <folders> + <source-folder> + <label>Networked Graphics MV3500</label> + <location>.</location> + <encoding>UTF-8</encoding> + </source-folder> + </folders> + <ide-actions/> + <view> + <items> + <source-file> + <location>build.xml</location> + </source-file> + </items> + <context-menu/> + </view> + <subprojects/> + </general-data> + <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1"/> + <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1"> + <word>archivally</word> + <word>autogenerated</word> + <word>brutzman</word> + <word>codebase</word> + <word>codebases</word> + <word>DIS</word> + <word>gitlab</word> + <word>html</word> + <word>https</word> + <word>IITSEC</word> + <word>integrators</word> + <word>interoperability</word> + <word>interoperable</word> + <word>Javadoc</word> + <word>LVC</word> + <word>McGregor</word> + <word>multicast</word> + <word>NPS</word> + <word>opendis</word> + <word>PDUs</word> + <word>Redistributions</word> + <word>TENA</word> + <word>UML</word> + <word>wargaming</word> + <word>WebRTC</word> + <word>Wikipedia</word> + </spellchecker-wordlist> + </configuration> +</project>