diff --git a/Semester 1/Assignments/MP5_CalebFontenot/ANSI b/Semester 1/Assignments/MP5_CalebFontenot/ANSI new file mode 100644 index 0000000..7c5cacf --- /dev/null +++ b/Semester 1/Assignments/MP5_CalebFontenot/ANSI @@ -0,0 +1,41 @@ +Script started on 2023-06-27 02:14:53-05:00 [COMMAND="./run.sh" TERM="xterm-256color" TTY="/dev/pts/2" COLUMNS="76" LINES="38"] +[INFO] Scanning for projects... +[INFO] +[INFO] ----------------< com.calebfontenot:MP5_CalebFontenot >----------------- +[INFO] Building MP5_CalebFontenot 1.0-SNAPSHOT +[INFO] --------------------------------[ jar ]--------------------------------- +[INFO] +[INFO] --- exec-maven-plugin:3.1.0:java (default-cli) @ MP5_CalebFontenot --- +Enter 0 to quit, and 1 to enter the number of students: 10  +Enter the number of students: 10 +Student 1 is interacting with the lockers! +true true true true true true true true true true  +Student 2 is interacting with the lockers! +true false true false true false true false true false  +Student 3 is interacting with the lockers! +true false false false true true true false false false  +Student 4 is interacting with the lockers! +true false false true true true true true false false  +Student 5 is interacting with the lockers! +true false false true false true true true false true  +Student 6 is interacting with the lockers! +true false false true false false true true false true  +Student 7 is interacting with the lockers! +true false false true false false false true false true  +Student 8 is interacting with the lockers! +true false false true false false false false false true  +Student 9 is interacting with the lockers! +true false false true false false false false true true  +Student 10 is interacting with the lockers! +true false false true false false false false true false  +Locker 1 is open. +Locker 4 is open. +Locker 9 is open. +[INFO] ------------------------------------------------------------------------ +[INFO] BUILD SUCCESS +[INFO] ------------------------------------------------------------------------ +[INFO] Total time: 10.794 s +[INFO] Finished at: 2023-06-27T02:15:16-05:00 +[INFO] ------------------------------------------------------------------------ + +Script done on 2023-06-27 02:15:17-05:00 [COMMAND_EXIT_CODE="0"] diff --git a/Semester 1/Assignments/MP5_CalebFontenot/typescript b/Semester 1/Assignments/MP5_CalebFontenot/typescript new file mode 100644 index 0000000..112701d --- /dev/null +++ b/Semester 1/Assignments/MP5_CalebFontenot/typescript @@ -0,0 +1,4 @@ +Script started on 2023-06-27 02:14:09-05:00 [COMMAND="./run.shANSI" TERM="xterm-256color" TTY="/dev/pts/2" COLUMNS="76" LINES="38"] +zsh:1: no such file or directory: ./run.shANSI + +Script done on 2023-06-27 02:14:10-05:00 [COMMAND_EXIT_CODE="127"] diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Circle.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Circle.class new file mode 100644 index 0000000..d435f4b Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Circle.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/GeometricObject.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/GeometricObject.class new file mode 100644 index 0000000..f65ab97 Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/GeometricObject.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Lab4_CalebFontenot.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Lab4_CalebFontenot.class new file mode 100644 index 0000000..91d2161 Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Lab4_CalebFontenot.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Rectangle.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Rectangle.class new file mode 100644 index 0000000..3ae7035 Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/Rectangle.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Apple.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Apple.class new file mode 100644 index 0000000..f3c753d Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Apple.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Fruit.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Fruit.class new file mode 100644 index 0000000..64115d0 Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Fruit.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle.class b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle.class new file mode 100644 index 0000000..fe9cbde Binary files /dev/null and b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/classes/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle.class differ diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..75b92dd --- /dev/null +++ b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,7 @@ +com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Apple.class +com/calebfontenot/lab4_calebfontenot/Circle.class +com/calebfontenot/lab4_calebfontenot/Rectangle.class +com/calebfontenot/lab4_calebfontenot/GeometricObject.class +com/calebfontenot/lab4_calebfontenot/TestCircleRectangle$Fruit.class +com/calebfontenot/lab4_calebfontenot/Lab4_CalebFontenot.class +com/calebfontenot/lab4_calebfontenot/TestCircleRectangle.class diff --git a/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..9794d93 --- /dev/null +++ b/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,5 @@ +/home/caleb/ASDV-Java/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/src/main/java/com/calebfontenot/lab4_calebfontenot/Lab4_CalebFontenot.java +/home/caleb/ASDV-Java/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/src/main/java/com/calebfontenot/lab4_calebfontenot/TestCircleRectangle.java +/home/caleb/ASDV-Java/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/src/main/java/com/calebfontenot/lab4_calebfontenot/Circle.java +/home/caleb/ASDV-Java/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/src/main/java/com/calebfontenot/lab4_calebfontenot/GeometricObject.java +/home/caleb/ASDV-Java/Semester 2/Assignments/lab4_CalebFontenot_oldGoshDarnitMarkouREEE/src/main/java/com/calebfontenot/lab4_calebfontenot/Rectangle.java diff --git a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/build-impl.xml b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/build-impl.xml index 71b035b..6e26162 100644 --- a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/build-impl.xml +++ b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/build-impl.xml @@ -119,7 +119,43 @@ is divided into following sections: - + + + + + + + + + + + + + + + + + + + + + + + + + + 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) + @@ -242,20 +278,6 @@ is divided into following sections: - - - - - - - - - - - - - - @@ -343,7 +365,7 @@ is divided into following sections: - + @@ -394,7 +416,7 @@ is divided into following sections: - + @@ -436,7 +458,7 @@ is divided into following sections: - + @@ -515,7 +537,7 @@ is divided into following sections: - + @@ -543,7 +565,7 @@ is divided into following sections: - + @@ -619,7 +641,7 @@ is divided into following sections: - + @@ -850,6 +872,9 @@ is divided into following sections: + + + @@ -899,7 +924,7 @@ is divided into following sections: - + @@ -933,7 +958,7 @@ is divided into following sections: - + @@ -965,7 +990,7 @@ is divided into following sections: - + @@ -1199,7 +1224,7 @@ is divided into following sections: To run this application from the command line without Ant, try: - java -jar "${dist.jar.resolved}" + ${platform.java} -jar "${dist.jar.resolved}" @@ -1301,8 +1326,8 @@ is divided into following sections: - - + + @@ -1495,16 +1520,19 @@ is divided into following sections: + + + - + - + - + diff --git a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/genfiles.properties b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/genfiles.properties index d3bda0d..77890c0 100644 --- a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/genfiles.properties +++ b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=3b569e2a +build.xml.data.CRC32=27242178 build.xml.script.CRC32=413afed0 build.xml.stylesheet.CRC32=f85dc8f2@1.107.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=3b569e2a -nbproject/build-impl.xml.script.CRC32=80ea1a25 +nbproject/build-impl.xml.data.CRC32=27242178 +nbproject/build-impl.xml.script.CRC32=66eac23f nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.107.0.48 diff --git a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.properties b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.properties index 18705b8..5671274 100644 --- a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.properties +++ b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.properties @@ -40,7 +40,7 @@ jar.archive.disabled=${jnlp.enabled} jar.compress=false jar.index=${jnlp.enabled} javac.classpath=\ - ${libs.JavaFX17.classpath} + ${libs.JavaFX20.classpath} # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false @@ -49,12 +49,11 @@ javac.modulepath= javac.processormodulepath= javac.processorpath=\ ${javac.classpath} -javac.source=17 -javac.target=17 +javac.source=20 +javac.target=20 javac.test.classpath=\ ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.JavaFX17.classpath} + ${build.classes.dir} javac.test.modulepath=\ ${javac.modulepath} javac.test.processorpath=\ @@ -98,10 +97,11 @@ manifest.custom.permissions= manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false -platform.active=default_platform +platform.active=Graal_JDK_20 run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} +run.jvmargs=-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:-UseJVMCICompiler -XX:-UseJVMCINativeLibrary --module-path=/usr/lib --add-modules javafx.fxml,javafx.controls,javafx.media,javafx.fxml run.modulepath=\ ${javac.modulepath} run.test.classpath=\ diff --git a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.xml b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.xml index 4d1f72c..b97053b 100644 --- a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.xml +++ b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/nbproject/project.xml @@ -4,6 +4,7 @@ MP2-chapter4_Java20_CalebFontenot + diff --git a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/openjfx-20.0.2_linux-aarch64_bin-sdk.zip b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/openjfx-20.0.2_linux-aarch64_bin-sdk.zip new file mode 100644 index 0000000..b509c5e Binary files /dev/null and b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/openjfx-20.0.2_linux-aarch64_bin-sdk.zip differ diff --git a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/src/MP2_chapter4_CalebFontenot/BouncingBall.java b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/src/MP2_chapter4_CalebFontenot/BouncingBall.java index 942d040..85be5ca 100644 --- a/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/src/MP2_chapter4_CalebFontenot/BouncingBall.java +++ b/Semester 3/Assignments/MP2-chapter4_Java20_CalebFontenot/src/MP2_chapter4_CalebFontenot/BouncingBall.java @@ -39,6 +39,7 @@ public class BouncingBall extends Pane { final double radius = 20; private double x = radius, y = radius; private double dx = 1, dy = 1; + private long moveEvent = 0; private Circle circle = new Circle(x, y, radius); private Rectangle racket = new Rectangle(RACKET_LENGTH, 20); private Label infoLabel = new Label("Your mouse cursor must be inside the bounds of the window to play!"); @@ -48,8 +49,8 @@ public class BouncingBall extends Pane { private Label computerScoreLabel = new Label("Computer Score: 0"); private Label nowPlaying = new Label(); private Button restartBgm = new Button("Restart BGM"); - private Label jvmVersion = new Label("Java version: Java " + System.getProperty("java.version")); - + private Label jvmVersion = new Label("JVM version: " + System.getProperty("java.vendor.version")); + private Label moveEventLabel = new Label("Move events: "); private Timeline animation; private int computerScore, playerScore = 0; @@ -65,8 +66,9 @@ public class BouncingBall extends Pane { textPane.add(playerScoreLabel, 0, 2); textPane.add(computerScoreLabel, 0, 3); textPane.add(nowPlaying, 0, 4); - textPane.add(jvmVersion, 0, 5); - textPane.add(restartBgm, 0, 6); + textPane.add(moveEventLabel, 0, 5); + textPane.add(jvmVersion, 0, 6); + textPane.add(restartBgm, 0, 7); getChildren().addAll(circle, racket, textPane); // Place a ball into this pane racket.relocate(0, 580); playSound("bgm"); @@ -155,6 +157,7 @@ public class BouncingBall extends Pane { } public void moveRacket(double x) { + moveEventLabel.setText("Move events: " + ++moveEvent); racket.relocate(x, getHeight() - 20); }