diff --git a/.gitignore b/.gitignore index 8b5374e..5a23a8d 100644 --- a/.gitignore +++ b/.gitignore @@ -19,13 +19,14 @@ /Assignments/JavaScript/Chapter3Examples/nbproject/private/ /Assignments/JavaScript/lab12js/nbproject/private/ /Assignments/JavaScript/MP09_CalebFontenot/nbproject/private/ -<<<<<<< Updated upstream /Assignments/JavaScript/MP10_CalebFontenot/nbproject/private/ -======= /Assignments/JavaScript/lab14js_CalebFontenot/nbproject/private/ ->>>>>>> Stashed changes /Assignments/JavaScript/lab15js_CalebFontenot/nbproject/private/ /Assignments/JavaScript/MP11_CalebFontenot/nbproject/private/ /Assignments/JavaScript/lab16js_CalebFontenot/nbproject/private/ /Assignments/JavaScript/MP12_CalebFontenot/nbproject/private/ /Assignments/JavaScript/lab17js_CalebFontenot/nbproject/private/ +/Assignments/JavaScript/AbstractMethod/target/ +/Assignments/JavaScript/MP13_CalebFontenot/nbproject/private/ +/Assignments/JavaScript/JavaFXApplication1/nbproject/private/ +/Assignments/JavaScript/JavaFXApplication1/build/ diff --git a/Assignments/JavaScript/JavaFXApplication1/build.xml b/Assignments/JavaScript/JavaFXApplication1/build.xml new file mode 100644 index 0000000..30e5fc5 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/build.xml @@ -0,0 +1,53 @@ + + Builds, tests, and runs the project JavaFXApplication1. + + + diff --git a/Assignments/JavaScript/JavaFXApplication1/manifest.mf b/Assignments/JavaScript/JavaFXApplication1/manifest.mf new file mode 100644 index 0000000..328e8e5 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/build-impl.xml b/Assignments/JavaScript/JavaFXApplication1/nbproject/build-impl.xml new file mode 100644 index 0000000..dd44df2 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/build-impl.xml @@ -0,0 +1,1800 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set platform.home + Must set platform.bootcp + Must set platform.java + Must set platform.javac + + The J2SE Platform is not correctly set up. + Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. + Either open the project in the IDE and setup the Platform with the same name or add it manually. + For example like this: + ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) + or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + ${platform.java} -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/configs/Run_as_WebStart.properties b/Assignments/JavaScript/JavaFXApplication1/nbproject/configs/Run_as_WebStart.properties new file mode 100644 index 0000000..670fff0 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/configs/Run_as_WebStart.properties @@ -0,0 +1,2 @@ +# Do not modify this property in this configuration. It can be re-generated. +$label=Run as WebStart diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/configs/Run_in_Browser.properties b/Assignments/JavaScript/JavaFXApplication1/nbproject/configs/Run_in_Browser.properties new file mode 100644 index 0000000..f2a5a65 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/configs/Run_in_Browser.properties @@ -0,0 +1,2 @@ +# Do not modify this property in this configuration. It can be re-generated. +$label=Run in Browser diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/genfiles.properties b/Assignments/JavaScript/JavaFXApplication1/nbproject/genfiles.properties new file mode 100644 index 0000000..2c3fdc4 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=19a3a13e +build.xml.script.CRC32=e354da3e +build.xml.stylesheet.CRC32=f85dc8f2@1.105.0.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=19a3a13e +nbproject/build-impl.xml.script.CRC32=6c0e2539 +nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.105.0.48 diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/jfx-impl.xml b/Assignments/JavaScript/JavaFXApplication1/nbproject/jfx-impl.xml new file mode 100644 index 0000000..6aeb313 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/jfx-impl.xml @@ -0,0 +1,4197 @@ + + + + + JavaFX-specific Ant calls + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${cssfileslist} + + + + + + + + + + + + + + + + + + + + + + + + self.addMappedName( + (source.indexOf("jfxrt.jar") >= 0) || + (source.indexOf("deploy.jar") >= 0) || + (source.indexOf("javaws.jar") >= 0) || + (source.indexOf("plugin.jar") >= 0) + ? "" : source + ); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/project.properties b/Assignments/JavaScript/JavaFXApplication1/nbproject/project.properties new file mode 100644 index 0000000..ddfdd7f --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/project.properties @@ -0,0 +1,120 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +application.title=JavaFXApplication1 +application.vendor=caleb +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 +compile.on.save=true +compile.on.save.unsupported.javafx=true +# 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} +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/JavaFXApplication1.jar +dist.javadoc.dir=${dist.dir}/javadoc +endorsed.classpath= +excludes= +includes=** +# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects +jar.archive.disabled=true +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.modulepath= +javac.processormodulepath= +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.modulepath=\ + ${javac.modulepath} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +javafx.application.implementation.version=1.0 +javafx.binarycss=false +javafx.deploy.allowoffline=true +# If true, application update mode is set to 'background', if false, update mode is set to 'eager' +javafx.deploy.backgroundupdate=false +javafx.deploy.embedJNLP=true +javafx.deploy.includeDT=true +# Set true to prevent creation of temporary copy of deployment artifacts before each run (disables concurrent runs) +javafx.disable.concurrent.runs=false +# Set true to enable multiple concurrent runs of the same WebStart or Run-in-Browser project +javafx.enable.concurrent.external.runs=false +# This is a JavaFX project +javafx.enabled=true +javafx.fallback.class=com.javafx.main.NoJavaFXFallback +# Main class for JavaFX +javafx.main.class=javafxapplication1.JavaFXApplication1 +javafx.preloader.class= +# This project does not use Preloader +javafx.preloader.enabled=false +javafx.preloader.jar.filename= +javafx.preloader.jar.path= +javafx.preloader.project.path= +javafx.preloader.type=none +# Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs. +javafx.rebase.libs=false +javafx.run.height=600 +javafx.run.width=800 +# Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects +jnlp.enabled=false +# Main class for Java launcher +main.class=com.javafx.main.Main +# For improved security specify narrower Codebase manifest attribute to prevent RIAs from being repurposed +manifest.custom.codebase=* +# Specify Permissions manifest attribute to override default (choices: sandbox, all-permissions) +manifest.custom.permissions= +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +platform.active=JDK_1.8 +run.classpath=\ + ${dist.jar}:\ + ${javac.classpath}:\ + ${build.classes.dir} +run.modulepath=\ + ${javac.modulepath} +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +run.test.modulepath=\ + ${javac.test.modulepath} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/Assignments/JavaScript/JavaFXApplication1/nbproject/project.xml b/Assignments/JavaScript/JavaFXApplication1/nbproject/project.xml new file mode 100644 index 0000000..ddc70cd --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/nbproject/project.xml @@ -0,0 +1,26 @@ + + + org.netbeans.modules.java.j2seproject + + + + + + + + + + + + + JavaFXApplication1 + + + + + + + + + + diff --git a/Assignments/JavaScript/JavaFXApplication1/src/javafxapplication1/JavaFXApplication1.java b/Assignments/JavaScript/JavaFXApplication1/src/javafxapplication1/JavaFXApplication1.java new file mode 100644 index 0000000..4c1a116 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/src/javafxapplication1/JavaFXApplication1.java @@ -0,0 +1,58 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/javafx/FXMain.java to edit this template + */ +package javafxapplication1; + +import javafx.application.Application; +import javafx.event.ActionEvent; +import javafx.event.EventHandler; +import javafx.scene.Scene; +import javafx.scene.control.Button; +import javafx.scene.layout.StackPane; +import javafx.stage.Stage; + +/** + * + * @author caleb + */ +public class JavaFXApplication1 extends Application { + + @Override + public void start(Stage primaryStage) + { + Button btn = new Button(); + btn.setText("Say 'Hello World'"); + Button btn2 = new Button(); + btn2.setText("I'm a new button"); + btn2.al + btn2.setLayoutY(250); + btn.setOnAction(new EventHandler() { + @Override + public void handle(ActionEvent event) + { + System.out.println("Hello World!"); + } + + }); + + StackPane root = new StackPane(); + root.getChildren().add(btn); + root.getChildren().add(btn2); + + Scene scene = new Scene(root, 500, 250); + + primaryStage.setTitle("Hello World!"); + primaryStage.setScene(scene); + primaryStage.show(); + } + + /** + * @param args the command line arguments + */ + public static void main(String[] args) + { + launch(args); + } + +} diff --git a/Assignments/JavaScript/JavaFXApplication1/src/javafxapplication1/Test1.java b/Assignments/JavaScript/JavaFXApplication1/src/javafxapplication1/Test1.java new file mode 100644 index 0000000..50e3810 --- /dev/null +++ b/Assignments/JavaScript/JavaFXApplication1/src/javafxapplication1/Test1.java @@ -0,0 +1,15 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template + */ +package javafxapplication1; + +import javafx.application.Application; + +/** + * + * @author caleb + */ +public class Test1 extends Application{ + +} diff --git a/Assignments/JavaScript/MP13_CalebFontenot/.bowerrc b/Assignments/JavaScript/MP13_CalebFontenot/.bowerrc new file mode 100644 index 0000000..0ba26f2 --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "public_html/bower_components" +} diff --git a/Assignments/JavaScript/MP13_CalebFontenot/Gruntfile.js b/Assignments/JavaScript/MP13_CalebFontenot/Gruntfile.js new file mode 100644 index 0000000..496183b --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/Gruntfile.js @@ -0,0 +1,9 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/Gruntfile.js to edit this template + */ +module.exports = function (grunt) { + // Project configuration. + grunt.initConfig({ + }); +}; diff --git a/Assignments/JavaScript/MP13_CalebFontenot/bower.json b/Assignments/JavaScript/MP13_CalebFontenot/bower.json new file mode 100644 index 0000000..abeee72 --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/bower.json @@ -0,0 +1,13 @@ +{ + "name": "MP13_CalebFontenot", + "version": "1.0.0", + "main": "path/to/main.css", + "ignore": [ + ".jshintrc", + "**/*.txt" + ], + "dependencies": { + }, + "devDependencies": { + } +} diff --git a/Assignments/JavaScript/MP13_CalebFontenot/ch8.pdf b/Assignments/JavaScript/MP13_CalebFontenot/ch8.pdf new file mode 100644 index 0000000..1386652 Binary files /dev/null and b/Assignments/JavaScript/MP13_CalebFontenot/ch8.pdf differ diff --git a/Assignments/JavaScript/MP13_CalebFontenot/gulpfile.js b/Assignments/JavaScript/MP13_CalebFontenot/gulpfile.js new file mode 100644 index 0000000..eccfb02 --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/gulpfile.js @@ -0,0 +1,10 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/gulpfile.js to edit this template + */ + +var gulp = require('gulp'); + +gulp.task('default', function () { + // place code for your default task here +}); diff --git a/Assignments/JavaScript/MP13_CalebFontenot/nbproject/project.properties b/Assignments/JavaScript/MP13_CalebFontenot/nbproject/project.properties new file mode 100644 index 0000000..0ff15a6 --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/nbproject/project.properties @@ -0,0 +1,5 @@ +file.reference.MP13_CalebFontenot-public_html=public_html +file.reference.MP13_CalebFontenot-test=test +files.encoding=UTF-8 +site.root.folder=${file.reference.MP13_CalebFontenot-public_html} +test.folder=${file.reference.MP13_CalebFontenot-test} diff --git a/Assignments/JavaScript/MP13_CalebFontenot/nbproject/project.xml b/Assignments/JavaScript/MP13_CalebFontenot/nbproject/project.xml new file mode 100644 index 0000000..8eb443d --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/nbproject/project.xml @@ -0,0 +1,9 @@ + + + org.netbeans.modules.web.clientproject + + + MP13_CalebFontenot + + + diff --git a/Assignments/JavaScript/MP13_CalebFontenot/package.json b/Assignments/JavaScript/MP13_CalebFontenot/package.json new file mode 100644 index 0000000..be0772d --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/package.json @@ -0,0 +1,8 @@ +{ + "name": "MP13_CalebFontenot", + "version": "1.0.0", + "keywords": ["util", "functional", "server", "client", "browser"], + "author": "caleb", + "contributors": [], + "dependencies": {} +} diff --git a/Assignments/JavaScript/MP13_CalebFontenot/public_html/Problem3.html b/Assignments/JavaScript/MP13_CalebFontenot/public_html/Problem3.html new file mode 100644 index 0000000..5ed6002 --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/public_html/Problem3.html @@ -0,0 +1,46 @@ + + + + + Problem 3 + + + + +
+
+
+
+
+
+
+ + + diff --git a/Assignments/JavaScript/MP13_CalebFontenot/public_html/Problem4.html b/Assignments/JavaScript/MP13_CalebFontenot/public_html/Problem4.html new file mode 100644 index 0000000..2f49783 --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/public_html/Problem4.html @@ -0,0 +1,21 @@ + + + + + TODO supply a title + + + + + + + + + diff --git a/Assignments/JavaScript/MP13_CalebFontenot/public_html/index.html b/Assignments/JavaScript/MP13_CalebFontenot/public_html/index.html new file mode 100644 index 0000000..f6f390f --- /dev/null +++ b/Assignments/JavaScript/MP13_CalebFontenot/public_html/index.html @@ -0,0 +1,15 @@ + + + + + TODO supply a title + + + + +
TODO write content
+ + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/.DS_Store b/Chapter ZIPs/JavaScript/ch8/ch8/.DS_Store new file mode 100644 index 0000000..51f8dd1 Binary files /dev/null and b/Chapter ZIPs/JavaScript/ch8/ch8/.DS_Store differ diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_10.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_10.html new file mode 100755 index 0000000..5f2aceb --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_10.html @@ -0,0 +1,31 @@ + + +Example 8.10 + + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_11.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_11.html new file mode 100755 index 0000000..57875e2 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_11.html @@ -0,0 +1,31 @@ + + +Example 8.11 + + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_12.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_12.html new file mode 100755 index 0000000..be60f49 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_12.html @@ -0,0 +1,31 @@ + + +Example 8.12 + + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_13.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_13.html new file mode 100755 index 0000000..6c15dfc --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_13.html @@ -0,0 +1,31 @@ + + +Example 8.13 + + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_14.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_14.html new file mode 100755 index 0000000..626a94b --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_14.html @@ -0,0 +1,107 @@ + + +Example 8.14 + + + + +
+ +

Jackie's Jewelry Inventory

+
+
+
+ +

Ring Inventory

+
+
+
+ +

Bracelet Inventory

+
+
+
+ +

Pendant Inventory

+
+
+
+
+ + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_14.js b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_14.js new file mode 100755 index 0000000..a86aeed --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_14.js @@ -0,0 +1,12 @@ +function getRings() +{ + var rings = new Array("gold band", "silver band", "turquoise inlay", "emerald stone", "ruby stone"); + var r = rings.length; + r_title = "Ring Inventory"; + document.getElementById('ring_head').innerHTML = r_title; + for (i = 0; i <= (r - 1); i++) + { + document.getElementById('ring_inventory').innerHTML = (rings[i] + "
"); + } + document.write(""); +} diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_16.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_16.html new file mode 100755 index 0000000..f52df44 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_16.html @@ -0,0 +1,27 @@ + + +Example 8.16 + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_17.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_17.html new file mode 100755 index 0000000..fdd46f9 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_17.html @@ -0,0 +1,58 @@ + + +Example 8.17 + + + + +

Loading a 2-Dimensional Array

+ + + + + + + + + + + + + + + + +
cell 00 cell 01 cell 02
cell 10 cell 11 cell 12
cell 20 cell 21 cell 22
+ + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_2.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_2.html new file mode 100755 index 0000000..1ffaea6 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_2.html @@ -0,0 +1,23 @@ + + + + Example 8.2 + + + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_3.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_3.html new file mode 100755 index 0000000..0af7520 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_3.html @@ -0,0 +1,18 @@ + + + + + Example 8.3 + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_6.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_6.html new file mode 100755 index 0000000..62f51ae --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_6.html @@ -0,0 +1,19 @@ + + + + + Example 8.6 + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_7.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_7.html new file mode 100755 index 0000000..39e9105 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_7.html @@ -0,0 +1,18 @@ + + + + Example 8.7 + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_8.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_8.html new file mode 100755 index 0000000..bcbd061 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_8.html @@ -0,0 +1,33 @@ + + + + Example 8.8 + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_9.html b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_9.html new file mode 100755 index 0000000..8ecb722 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/ex_8_9.html @@ -0,0 +1,37 @@ + + +Example 8.9 + + + + + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/greg/greg.css b/Chapter ZIPs/JavaScript/ch8/ch8/greg/greg.css new file mode 100755 index 0000000..521d0a2 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/greg/greg.css @@ -0,0 +1,122 @@ +body { background-color: #000040; + background-image: url(background.gif); + color: #88ffff; + font-family: Verdana, Arial, sans-serif; +} +#container { margin-left: auto; + margin-right: auto; + width:80%; + min-width:700px; + } + + +#logo { + text-align:center; + margin: 0; + font-family: Geneva, Arial, Helvetica, sans-serif; + padding-top: 30px; + padding-bottom: 20px; + +} +#nav { + float: left; + width: 200px; + padding-top: 10px; + text-align:left; + color: #88FFFF; + font-size: 12px; +} +#nav a {text-decoration:none; + margin: 15px; + display: block; + color: #88FFFF; + font-size: 12px; +} +#content { + margin-left: 150px; + padding: 30px; + overflow:auto; + border: medium groove #88FFFF; + line-height: 135%; + +} + +.floatright {padding-left:20px; + float:right; + } +.floatleft { + float:left; + padding: 30px 0px 20px; +} +#footer { font-size: .60em; + font-style: italic; + text-align: center; + border-top: 2px double #000040; + padding-top: 20px; + padding-bottom: 20px; +} + +h2 { text-transform: uppercase; + color: #88ffff; + font-size: 1.2em; + border-bottom: 1px none; + margin-right: 20px; +} +h3 { + color: #88ffff; + font-size: 1.2em; + border-bottom: 1px solid #000000; + margin-right: auto; + text-align: left; + padding-top: 10px; + padding-right: 20px; + padding-bottom: 10px; + padding-left: 20px; + line-height: 120%; +} +.details { padding-left:20%; + padding-right:20%; +} + + +img {border:0; } + + +.content { + margin: 20px; + padding: 20px; + height: 3700px; + width: 500px; +} +a {text-decoration:none; + margin: 15px; + display: block; + color: #88FFFF; + font-size: 12px; +} +a:hover { + color: #000040; + background-color: #88ffff; +} +span { + font-size: 20px; + font-weight: bold; + font-family: "Courier New", Courier, mono; + color: #88ffff; + background-position: center center; + text-align: center; + vertical-align: middle; +} +table { + border-collapse: collapse +} +td { + border: 2px solid #88ffff; + width: 5em; + color: #88ffff; + text-align: center; +} +.nobdr { + border: none; + cell-padding: 5px; +} diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/greg/greg_game_15.html b/Chapter ZIPs/JavaScript/ch8/ch8/greg/greg_game_15.html new file mode 100755 index 0000000..61389c4 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/greg/greg_game_15.html @@ -0,0 +1,135 @@ + + +Greg's Gambits | Greg's 15 + + + + +
+ +

Greg's 15

+

 

+ +
+

+

You can move any number into an empty spot by moving up, down,right, or left. Diagonal moves are not allowed. The object is to get all the numbers into correct order, from 1 through 15 with the empty space at the end.

+ + + + + + + + + + + + + + + + + + + + + + +
    
    
    
    
+
+ +
+ diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/greg/images/superhero.jpg b/Chapter ZIPs/JavaScript/ch8/ch8/greg/images/superhero.jpg new file mode 100755 index 0000000..5f64be5 Binary files /dev/null and b/Chapter ZIPs/JavaScript/ch8/ch8/greg/images/superhero.jpg differ diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/greg/play_games.html b/Chapter ZIPs/JavaScript/ch8/ch8/greg/play_games.html new file mode 100755 index 0000000..cedb232 --- /dev/null +++ b/Chapter ZIPs/JavaScript/ch8/ch8/greg/play_games.html @@ -0,0 +1,44 @@ + + + +Greg's Gambits | Games Menu + + + + + +
+ + +

Play A Game

+
+ +
+

Menu of Available Games

+ + + + + + + + + + + + + +
Greg's Tales Madame Vadoma Sees All
The Secret Message Encoder Battle the Evil Troll
The Game of 15  
+

 

+
+ +
+ + diff --git a/Chapter ZIPs/JavaScript/ch8/ch8/images/jewel_box1.jpg b/Chapter ZIPs/JavaScript/ch8/ch8/images/jewel_box1.jpg new file mode 100755 index 0000000..8f906c6 Binary files /dev/null and b/Chapter ZIPs/JavaScript/ch8/ch8/images/jewel_box1.jpg differ