commit 916073f43becede2c5e77a79f352afc8e00e320f Author: tbarnes98 Date: Tue Aug 13 12:23:06 2019 -0500 first commit diff --git a/FileIO.zip b/FileIO.zip new file mode 100644 index 0000000..97b7c05 Binary files /dev/null and b/FileIO.zip differ diff --git a/Functional Interfaces.zip b/Functional Interfaces.zip new file mode 100644 index 0000000..76583d3 Binary files /dev/null and b/Functional Interfaces.zip differ diff --git a/Homework 2/.idea/checkstyle-idea.xml b/Homework 2/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..6bb19ad --- /dev/null +++ b/Homework 2/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/Homework 2/.idea/misc.xml b/Homework 2/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/Homework 2/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Homework 2/.idea/modules.xml b/Homework 2/.idea/modules.xml new file mode 100644 index 0000000..3068bee --- /dev/null +++ b/Homework 2/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Homework 2/.idea/workspace.xml b/Homework 2/.idea/workspace.xml new file mode 100644 index 0000000..c81285f --- /dev/null +++ b/Homework 2/.idea/workspace.xml @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C:\Users\barnestr\Documents\SE 1021\Spring 2018\Homework 2 + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1521835652836 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Homework 3/Homework 3.iml b/Homework 3/Homework 3.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/Homework 3/Homework 3.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Homework 3/out/production/Homework 3/barnestr/Animal.class b/Homework 3/out/production/Homework 3/barnestr/Animal.class new file mode 100644 index 0000000..c515a85 Binary files /dev/null and b/Homework 3/out/production/Homework 3/barnestr/Animal.class differ diff --git a/Homework 3/out/production/Homework 3/barnestr/Car.class b/Homework 3/out/production/Homework 3/barnestr/Car.class new file mode 100644 index 0000000..aae328b Binary files /dev/null and b/Homework 3/out/production/Homework 3/barnestr/Car.class differ diff --git a/Homework 3/out/production/Homework 3/barnestr/Dog.class b/Homework 3/out/production/Homework 3/barnestr/Dog.class new file mode 100644 index 0000000..6863cfe Binary files /dev/null and b/Homework 3/out/production/Homework 3/barnestr/Dog.class differ diff --git a/Homework 3/out/production/Homework 3/barnestr/Main.class b/Homework 3/out/production/Homework 3/barnestr/Main.class new file mode 100644 index 0000000..58bd615 Binary files /dev/null and b/Homework 3/out/production/Homework 3/barnestr/Main.class differ diff --git a/Homework 3/src/barnestr/Animal.java b/Homework 3/src/barnestr/Animal.java new file mode 100644 index 0000000..53ecac3 --- /dev/null +++ b/Homework 3/src/barnestr/Animal.java @@ -0,0 +1,7 @@ +package barnestr; + +public class Animal { + + public Animal() { + } +} diff --git a/Homework 3/src/barnestr/Car.java b/Homework 3/src/barnestr/Car.java new file mode 100644 index 0000000..b00b84e --- /dev/null +++ b/Homework 3/src/barnestr/Car.java @@ -0,0 +1,29 @@ +package barnestr; + + +public class Car { + private String make; + private int year; + private String color; + + public Car(String make, int year, String color) { + this.make = make; + this.year = year; + this.color = color; + } + + public boolean equals(Car otherCar) { + return otherCar != null && + make.equals(otherCar.make) && + year == otherCar.year && + color.equals(otherCar.color); + } + public boolean sameColorAs(Car otherCar) { + return color.equals(otherCar); + } + + @Override + public String toString() { + return super.toString(); + } +} diff --git a/Homework 3/src/barnestr/Commission.java b/Homework 3/src/barnestr/Commission.java new file mode 100644 index 0000000..9673538 --- /dev/null +++ b/Homework 3/src/barnestr/Commission.java @@ -0,0 +1,7 @@ +package barnestr; + +public interface Commission { + static final double COMMISSION_RATE = 0.10; + + public abstract void addSales(double sales); +} diff --git a/Homework 3/src/barnestr/Dog.java b/Homework 3/src/barnestr/Dog.java new file mode 100644 index 0000000..20d3c96 --- /dev/null +++ b/Homework 3/src/barnestr/Dog.java @@ -0,0 +1,6 @@ +package barnestr; + +public class Dog extends Animal{ + public Dog() { + } +} diff --git a/Homework 3/src/barnestr/Main.java b/Homework 3/src/barnestr/Main.java new file mode 100644 index 0000000..5c4e20d --- /dev/null +++ b/Homework 3/src/barnestr/Main.java @@ -0,0 +1,19 @@ +package barnestr; + +import java.text.DecimalFormat; + +public class Main { + + private final DecimalFormat decimalFormat = new DecimalFormat(); + private double testNum = 10.0/6.0; + + public static void main(String[] args) { + + + + + } + public String test() { + return decimalFormat.format(testNum); + } +} diff --git a/Homework 4/.idea/checkstyle-idea.xml b/Homework 4/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..6bb19ad --- /dev/null +++ b/Homework 4/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/Homework 4/.idea/misc.xml b/Homework 4/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/Homework 4/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Homework 4/.idea/modules.xml b/Homework 4/.idea/modules.xml new file mode 100644 index 0000000..d48d2ec --- /dev/null +++ b/Homework 4/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Homework 4/.idea/workspace.xml b/Homework 4/.idea/workspace.xml new file mode 100644 index 0000000..d6d803a --- /dev/null +++ b/Homework 4/.idea/workspace.xml @@ -0,0 +1,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + localhost + 5050 + + + + + + + + + + + 1359379246138 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Homework 5/Homework 5.iml b/Homework 5/Homework 5.iml new file mode 100644 index 0000000..d5c0743 --- /dev/null +++ b/Homework 5/Homework 5.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/Homework 5/src/barnestr/ControllerA.java b/Homework 5/src/barnestr/ControllerA.java new file mode 100644 index 0000000..982d686 --- /dev/null +++ b/Homework 5/src/barnestr/ControllerA.java @@ -0,0 +1,4 @@ +package barnestr; + +public class ControllerA { +} diff --git a/Homework 5/src/barnestr/Main.java b/Homework 5/src/barnestr/Main.java new file mode 100644 index 0000000..72dbe80 --- /dev/null +++ b/Homework 5/src/barnestr/Main.java @@ -0,0 +1,23 @@ +package barnestr; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.stage.Stage; + +public class Main extends Application { + + @Override + public void start(Stage primaryStage) throws Exception{ + Parent root = FXMLLoader.load(getClass().getResource("windowA.fxml")); + primaryStage.setTitle("Hello World"); + primaryStage.setScene(new Scene(root, 300, 275)); + primaryStage.show(); + } + + + public static void main(String[] args) { + launch(args); + } +} diff --git a/Homework 5/src/barnestr/windowA.fxml b/Homework 5/src/barnestr/windowA.fxml new file mode 100644 index 0000000..61ebbb6 --- /dev/null +++ b/Homework 5/src/barnestr/windowA.fxml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file diff --git a/Lab 1/.idea/.name b/Lab 1/.idea/.name new file mode 100644 index 0000000..130928a --- /dev/null +++ b/Lab 1/.idea/.name @@ -0,0 +1 @@ +Lab1 \ No newline at end of file diff --git a/Lab 1/.idea/checkstyle-idea.xml b/Lab 1/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..7998db4 --- /dev/null +++ b/Lab 1/.idea/checkstyle-idea.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/Lab 1/.idea/checkstyleidea-libs/readme.txt b/Lab 1/.idea/checkstyleidea-libs/readme.txt new file mode 100644 index 0000000..9700c14 --- /dev/null +++ b/Lab 1/.idea/checkstyleidea-libs/readme.txt @@ -0,0 +1,6 @@ +This folder contains libraries copied from the "Lab1" project. +It is managed by the CheckStyle-IDEA IDE plugin. +Do not modify this folder while the IDE is running. +When the IDE is stopped, you may delete this folder at any time. It will be recreated as needed. +In order to prevent the CheckStyle-IDEA IDE plugin from creating this folder, +uncheck the "Copy libraries from project directory" option in the CheckStyle-IDEA settings dialog. diff --git a/Lab 1/.idea/misc.xml b/Lab 1/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/Lab 1/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Lab 1/.idea/modules.xml b/Lab 1/.idea/modules.xml new file mode 100644 index 0000000..483f77a --- /dev/null +++ b/Lab 1/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Lab 1/.idea/uiDesigner.xml b/Lab 1/.idea/uiDesigner.xml new file mode 100644 index 0000000..e96534f --- /dev/null +++ b/Lab 1/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 1/.idea/workspace.xml b/Lab 1/.idea/workspace.xml new file mode 100644 index 0000000..03cb0f0 --- /dev/null +++ b/Lab 1/.idea/workspace.xml @@ -0,0 +1,559 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1521051761641 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 2/Lab2.iml b/Lab 2/Lab2.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/Lab 2/Lab2.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 2/SE1021_checkStyle - v3.xml b/Lab 2/SE1021_checkStyle - v3.xml new file mode 100644 index 0000000..a9a3b55 --- /dev/null +++ b/Lab 2/SE1021_checkStyle - v3.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 2/out/production/Lab2/barnestr/Article.class b/Lab 2/out/production/Lab2/barnestr/Article.class new file mode 100644 index 0000000..9c5a7fb Binary files /dev/null and b/Lab 2/out/production/Lab2/barnestr/Article.class differ diff --git a/Lab 2/out/production/Lab2/barnestr/Book.class b/Lab 2/out/production/Lab2/barnestr/Book.class new file mode 100644 index 0000000..c3b8021 Binary files /dev/null and b/Lab 2/out/production/Lab2/barnestr/Book.class differ diff --git a/Lab 2/out/production/Lab2/barnestr/Main.class b/Lab 2/out/production/Lab2/barnestr/Main.class new file mode 100644 index 0000000..9327e7e Binary files /dev/null and b/Lab 2/out/production/Lab2/barnestr/Main.class differ diff --git a/Lab 2/out/production/Lab2/barnestr/Reference.class b/Lab 2/out/production/Lab2/barnestr/Reference.class new file mode 100644 index 0000000..e0e613f Binary files /dev/null and b/Lab 2/out/production/Lab2/barnestr/Reference.class differ diff --git a/Lab 2/out/production/Lab2/barnestr/ReferenceHolder.class b/Lab 2/out/production/Lab2/barnestr/ReferenceHolder.class new file mode 100644 index 0000000..4f4d49c Binary files /dev/null and b/Lab 2/out/production/Lab2/barnestr/ReferenceHolder.class differ diff --git a/Lab 2/src/barnestr.zip b/Lab 2/src/barnestr.zip new file mode 100644 index 0000000..643bbcf Binary files /dev/null and b/Lab 2/src/barnestr.zip differ diff --git a/Lab 2/src/barnestr/Article.java b/Lab 2/src/barnestr/Article.java new file mode 100644 index 0000000..759fad1 --- /dev/null +++ b/Lab 2/src/barnestr/Article.java @@ -0,0 +1,120 @@ +/* + * SE1021 + * Spring 2018 + * Lab 2 + * Name: Trevor Barnes + * Created: 3/19/2018 + */ +package barnestr; + +import java.util.Scanner; + +/** + * A type of Reference + * + * @author Trevor Barnes + * @version 1.0 + */ +public class Article extends Reference { + private int endingPage; + private int startingPage; + private String journal; + + /** + * This constructor sets up an Article with an author, title, publication year, journal, + * starting page, and ending page. + * + * @param author author of article + * @param title title of article + * @param publicationYear article's year of publication + * @param journal the journal the article is from + * @param startingPage the page the article begins + * @param endingPage the page the article ends + */ + public Article(String author, String title, int publicationYear, String journal, + int startingPage, int endingPage) { + super(author, title, publicationYear); + this.journal = journal; + if (startingPage < 1) { + this.startingPage = 1; + } else { + this.startingPage = startingPage; + } + if (endingPage < startingPage) { + this.endingPage = startingPage; + } else { + this.endingPage = endingPage; + } + + } + + /** + * Provides all of the listed properties of the book + * + * @return String with info + */ + @Override + public String toString() { + return "@ARTICLE { " + getMyUniqueID() + ",\n" + + "author = " + getAuthor() + ",\n" + + "title = " + getTitle() + ",\n" + + "journal = " + getJournal() + ",\n" + + "pages = " + getStartingPage() + "-" + getEndingPage() + ",\n" + + "year = " + getPublicationYear() + "\n" + + "}\n"; + } + + /** + * Calls the parent class' promptForUpdate method and asks for updated journal, starting page, + * and ending page values + * + * @param in Scanner input + */ + @Override + public void promptForUpdate(Scanner in) { + super.promptForUpdate(in); + //journal + System.out.println("Enter updated journal"); + this.setJournal(in.nextLine()); + //startingPage + System.out.println("Enter the first page of the article."); + while (!in.hasNextInt()) { + in.next(); + System.out.println("Enter the first page of the article."); + } + this.setStartingPage(in.nextInt()); + in.nextLine(); + //endingPage + System.out.println("Enter the last page of the article."); + while (!in.hasNextInt()) { + in.next(); + System.out.println("Enter the last page of the article."); + } + this.setEndingPage(in.nextInt()); + in.nextLine(); + } + + public int getEndingPage() { + return endingPage; + } + + public void setEndingPage(int endingPage) { + this.endingPage = endingPage; + } + + public int getStartingPage() { + return startingPage; + } + + public void setStartingPage(int startingPage) { + this.startingPage = startingPage; + } + + public String getJournal() { + return journal; + } + + public void setJournal(String journal) { + this.journal = journal; + } +} diff --git a/Lab 2/src/barnestr/Book.java b/Lab 2/src/barnestr/Book.java new file mode 100644 index 0000000..b607eb9 --- /dev/null +++ b/Lab 2/src/barnestr/Book.java @@ -0,0 +1,68 @@ +/* + * SE1021 + * Spring 2018 + * Lab 2 + * Name: Trevor Barnes + * Created: 3/19/2018 + */ +package barnestr; + +import java.util.Scanner; + +/** + * A type of Reference + * + * @author Trevor Barnes + * @version 1.0 + */ +public class Book extends Reference { + private String publisher; + + /** + * This constructor sets up an Book with an author, title, publication year, and publisher. + * + * @param author author of book + * @param title title of book + * @param publicationYear book's year of publication + * @param publisher publisher of book + */ + public Book(String author, String title, int publicationYear, String publisher) { + super(author, title, publicationYear); + this.publisher = publisher; + } + + /** + * Provides all of the listed properties of the book + * + * @return String with info + */ + @Override + public String toString() { + return "@BOOK { \"" + getMyUniqueID() + "\",\n" + + "author = \"" + getAuthor() + "\",\n" + + "title = \"" + getTitle() + "\",\n" + + "publisher = \"" + getPublisher() + "\",\n" + + "year = \"" + getPublicationYear() + "\"\n" + + "}\n"; + } + + /** + * Calls the parent class' promptForUpdate method and asks for updated publisher value + * + * @param in Scanner input + */ + @Override + public void promptForUpdate(Scanner in) { + super.promptForUpdate(in); + System.out.println("Enter the updated publisher for the book"); + this.setPublisher(in.nextLine()); + } + + public String getPublisher() { + return publisher; + } + + public void setPublisher(String publisher) { + this.publisher = publisher; + } +} diff --git a/Lab 2/src/barnestr/Main.java b/Lab 2/src/barnestr/Main.java new file mode 100644 index 0000000..7567871 --- /dev/null +++ b/Lab 2/src/barnestr/Main.java @@ -0,0 +1,138 @@ +/* + * SE1021 + * Spring 2018 + * Lab Lab2 + * Name: Trevor Barnes + * Created 3/19/18 + */ + +package barnestr; + +import java.util.Scanner; + +/** + * A simple test program for SE1021 laboratory assignment 2 + * @author schilling with minor edits by taylor and riley + * @version 1.2-20161130 + */ + +public class Main { + + /** + * This method provides a menu to obtain book and article references and then + * display them to the console window. + * @param args ignored + */ + public static void main(String[] args) { + ReferenceHolder references = new ReferenceHolder(); + int choice; + Scanner in = new Scanner(System.in); + + do { + printPrompt(); + while (!in.hasNextInt()) { + in.next(); + printPrompt(); + } + choice = in.nextInt(); + in.nextLine(); // consumes the carriage return from the user + if(choice == 1) { + Book book = createBookEntry(in); + references.addReference(book); + } else if(choice == 2) { + Article article = createArticleEntry(in); + references.addReference(article); + } else if(choice == 3) { + System.out.println("Enter the ID of the reference you want to update"); + String uniqueID = in.nextLine(); + references.updateReference(uniqueID,in); + } else if(choice == 4) { + System.out.print(references); + } else { + if(choice != 0) { + System.out.println("Please select a valid input"); + } + } + } while (choice != 0); + System.out.println("Goodbye"); + } + + /** + * This method displays main menu to the console. + */ + private static void printPrompt() { + System.out.println("Enter 0 to exit the program."); + System.out.println("Enter 1 to enter a new book into the reference set."); + System.out.println("Enter 2 to enter a new article into the reference set."); + System.out.println("Enter 3 to update a reference."); + System.out.println("Enter 4 to printout the entries in Bibtex format."); + } + + /** + * This method will allow the user to enter the information for the book. + * @param in This is the keyboard. + * @return A book will be returned. + */ + private static Book createBookEntry(Scanner in) { + System.out.println("Enter the author of the book"); + String author = in.nextLine(); + + System.out.println("Enter the title of the book"); + String title = in.nextLine(); + + System.out.println("Enter the publisher for the book."); + String publisher = in.nextLine(); + + System.out.println("Enter the copyright year for the book."); + while(!in.hasNextInt()) { + in.next(); + System.out.println("Enter the copyright year for the book."); + } + int copyright = in.nextInt(); + in.nextLine(); + + return new Book(author, title, copyright, publisher); + } + + /** + * This method will allow the user to enter the information for an article. + * @param in This is the keyboard. + * @return An article will be returned. + */ + private static Article createArticleEntry(Scanner in) { + System.out.println("Enter the author of the article"); + String author = in.nextLine(); + + System.out.println("Enter the title of the article"); + String title = in.nextLine(); + + System.out.println("Enter the title of the journal."); + String journal = in.nextLine(); + + System.out.println("Enter the first page of the article."); + while(!in.hasNextInt()) { + in.next(); + System.out.println("Enter the first page of the article."); + } + int start = in.nextInt(); + + System.out.println("Enter the last page of the article."); + while(!in.hasNextInt()) { + in.next(); + System.out.println("Enter the last page of the article."); + } + int end = in.nextInt(); + in.nextLine(); + + System.out.println("Enter the copyright year for the article."); + while(!in.hasNextInt()) { + in.next(); + System.out.println("Enter the copyright year for the article."); + } + int copyright = in.nextInt(); + in.nextLine(); + + return new Article(author, title, copyright, journal, start, end); + } + +} \ No newline at end of file diff --git a/Lab 2/src/barnestr/Reference.java b/Lab 2/src/barnestr/Reference.java new file mode 100644 index 0000000..6c18877 --- /dev/null +++ b/Lab 2/src/barnestr/Reference.java @@ -0,0 +1,94 @@ +/* + * SE1021 + * Spring 2018 + * Lab 2 + * Name: Trevor Barnes + * Created: 3/19/2018 + */ +package barnestr; + +import java.util.Scanner; + +/** + * The parent class that is inherited by either a book or article + * + * @author Trevor Barnes + * @version 1.0 + */ +public class Reference { + private static int instanceCount = 0; + private String author; + private String myUniqueID; + private int publicationYear; + String title; + + /** + * This constructor sets up a reference with an author, title, and publication year passed in. + * + * @param author author of reference + * @param title title of reference + * @param publicationYear reference's year of publication + */ + public Reference(String author, String title, int publicationYear) { + this.author = author; + this.title = title; + this.publicationYear = publicationYear; + this.myUniqueID = "REF" + instanceCount; + instanceCount++; + } + + /** + * Asks for updated values for the author, title, and copyright year. + * + * @param in scanner input + */ + public void promptForUpdate(Scanner in) { + + System.out.println("Enter the updated author of the reference"); + this.setAuthor(in.nextLine()); + + System.out.println("Enter the updated title of the reference"); + this.setTitle(in.nextLine()); + + System.out.println("Enter the updated copyright year for the reference."); + while (!in.hasNextInt()) { + in.next(); + System.out.println("Enter the updated copyright year for the reference."); + } + this.setPublicationYear(in.nextInt()); + in.nextLine(); + } + + @Override + public String toString() { + return super.toString(); + } + + public String getAuthor() { + return author; + } + + public String getMyUniqueID() { + return myUniqueID; + } + + public int getPublicationYear() { + return publicationYear; + } + + public String getTitle() { + return title; + } + + public void setAuthor(String author) { + this.author = author; + } + + public void setPublicationYear(int publicationYear) { + this.publicationYear = publicationYear; + } + + public void setTitle(String title) { + this.title = title; + } +} diff --git a/Lab 2/src/barnestr/ReferenceHolder.java b/Lab 2/src/barnestr/ReferenceHolder.java new file mode 100644 index 0000000..b339f6b --- /dev/null +++ b/Lab 2/src/barnestr/ReferenceHolder.java @@ -0,0 +1,68 @@ +/* + * SE1021 + * Spring 2018 + * Lab 2 + * Name: Trevor Barnes + * Created: 3/19/2018 + */ +package barnestr; + +import java.util.ArrayList; +import java.util.Scanner; + +/** + * Creates an ArrayList that holds references of different types + * + * @author Trevor Barnes + * @version 1.0 + */ +public class ReferenceHolder { + private ArrayList references = new ArrayList(); + + public ReferenceHolder() { + + } + + public void addReference(Book book) { + references.add(book); + } + + public void addReference(Article article) { + references.add(article); + } + + /** + * Calls the prompt for update methods for a specific type of reference, given the uniqueID. + * + * @param uniqueID Individual ID for each reference + * @param in Scanner input + */ + public void updateReference(String uniqueID, Scanner in) { + for (Reference ref : references) { + if (ref.getMyUniqueID().equals(uniqueID)) { + if (ref instanceof Book) { + ref = (Book) ref; + ref.promptForUpdate(in); + } else { + ref = (Article) ref; + ref.promptForUpdate(in); + } + } + } + } + + /** + * Creates a string of references in the references arrayList + * + * @return a string of references + */ + @Override + public String toString() { + StringBuilder stringBuilder = new StringBuilder(); + for (Reference ref : references) { + stringBuilder.append(ref.toString()); + } + return stringBuilder.toString(); + } + +} diff --git a/Lab 3/.idea/checkstyle-idea.xml b/Lab 3/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..d31e337 --- /dev/null +++ b/Lab 3/.idea/checkstyle-idea.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/Lab 3/.idea/checkstyleidea-libs/readme.txt b/Lab 3/.idea/checkstyleidea-libs/readme.txt new file mode 100644 index 0000000..0a5524c --- /dev/null +++ b/Lab 3/.idea/checkstyleidea-libs/readme.txt @@ -0,0 +1,6 @@ +This folder contains libraries copied from the "Lab 3" project. +It is managed by the CheckStyle-IDEA IDE plugin. +Do not modify this folder while the IDE is running. +When the IDE is stopped, you may delete this folder at any time. It will be recreated as needed. +In order to prevent the CheckStyle-IDEA IDE plugin from creating this folder, +uncheck the "Copy libraries from project directory" option in the CheckStyle-IDEA settings dialog. diff --git a/Lab 3/.idea/misc.xml b/Lab 3/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/Lab 3/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Lab 3/.idea/modules.xml b/Lab 3/.idea/modules.xml new file mode 100644 index 0000000..72351d9 --- /dev/null +++ b/Lab 3/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Lab 3/.idea/workspace.xml b/Lab 3/.idea/workspace.xml new file mode 100644 index 0000000..0f11d86 --- /dev/null +++ b/Lab 3/.idea/workspace.xml @@ -0,0 +1,953 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1522260796070 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No facets are configured + + + + + + + + + + + + + + + 1.8 + + + + + + + + Lab 4 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 4/Lab 4.iml b/Lab 4/Lab 4.iml new file mode 100644 index 0000000..fb578ef --- /dev/null +++ b/Lab 4/Lab 4.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 4/libs/WinPlotterFX.jar b/Lab 4/libs/WinPlotterFX.jar new file mode 100644 index 0000000..52de494 Binary files /dev/null and b/Lab 4/libs/WinPlotterFX.jar differ diff --git a/Lab 4/out/production/Lab 4/barnestr.zip b/Lab 4/out/production/Lab 4/barnestr.zip new file mode 100644 index 0000000..761f4e8 Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr.zip differ diff --git a/Lab 4/out/production/Lab 4/barnestr/Circle.class b/Lab 4/out/production/Lab 4/barnestr/Circle.class new file mode 100644 index 0000000..a93c643 Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/Circle.class differ diff --git a/Lab 4/out/production/Lab 4/barnestr/LabeledRectangle.class b/Lab 4/out/production/Lab 4/barnestr/LabeledRectangle.class new file mode 100644 index 0000000..e9745b6 Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/LabeledRectangle.class differ diff --git a/Lab 4/out/production/Lab 4/barnestr/LabeledTriangle.class b/Lab 4/out/production/Lab 4/barnestr/LabeledTriangle.class new file mode 100644 index 0000000..2dba308 Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/LabeledTriangle.class differ diff --git a/Lab 4/out/production/Lab 4/barnestr/Point.class b/Lab 4/out/production/Lab 4/barnestr/Point.class new file mode 100644 index 0000000..55faebb Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/Point.class differ diff --git a/Lab 4/out/production/Lab 4/barnestr/Rectangle.class b/Lab 4/out/production/Lab 4/barnestr/Rectangle.class new file mode 100644 index 0000000..c81a779 Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/Rectangle.class differ diff --git a/Lab 4/out/production/Lab 4/barnestr/Shape.class b/Lab 4/out/production/Lab 4/barnestr/Shape.class new file mode 100644 index 0000000..76447ba Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/Shape.class differ diff --git a/Lab 4/out/production/Lab 4/barnestr/Triangle.class b/Lab 4/out/production/Lab 4/barnestr/Triangle.class new file mode 100644 index 0000000..e56193d Binary files /dev/null and b/Lab 4/out/production/Lab 4/barnestr/Triangle.class differ diff --git a/Lab 4/src/barnestr.zip b/Lab 4/src/barnestr.zip new file mode 100644 index 0000000..761f4e8 Binary files /dev/null and b/Lab 4/src/barnestr.zip differ diff --git a/Lab 4/src/barnestr/Circle.java b/Lab 4/src/barnestr/Circle.java new file mode 100644 index 0000000..9bf88e5 --- /dev/null +++ b/Lab 4/src/barnestr/Circle.java @@ -0,0 +1,53 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + +/** + * This class represents a circle extension of the Shape Class + * + * @author barnestr + * @version 2.0 + */ +public class Circle extends Shape { + + protected double radius; + + /** + * Constructor - creates the circle with the passed in parameters + * + * @param x x-coordinate location of the circle + * @param y y-coordinate location of the circle + * @param radius radius of the circle + * @param color the JavaFX color of the outline of the circle + */ + public Circle(double x, double y, double radius, Color color) { + super(x, y, color); + this.radius = radius; + } + + /** + * Draws the circle in the WinPlotterFX window + * + * @param plotter the current WinPlotterFX being used + */ + public void draw(WinPlotterFX plotter) { + final int CIRCLE_DEGREES = 360; + setPenColor(plotter); + for (int i = 0; i < CIRCLE_DEGREES; i++) { + plotter.moveTo(x + radius * Math.cos(Math.toRadians(i)), + y + radius * Math.sin(Math.toRadians(i))); + plotter.drawTo(x + radius * Math.cos(Math.toRadians(i + 1)), + y + radius * Math.sin(Math.toRadians(i + 1))); + } + } +} diff --git a/Lab 4/src/barnestr/LabeledRectangle.java b/Lab 4/src/barnestr/LabeledRectangle.java new file mode 100644 index 0000000..bc8a881 --- /dev/null +++ b/Lab 4/src/barnestr/LabeledRectangle.java @@ -0,0 +1,49 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + +/** + * This class represents a LabeledRectangle extension of the Rectangle Class + * + * @author barnestr + * @version 2.0 + */ +public class LabeledRectangle extends Rectangle { + + String name; + + /** + * Constructor - creates the LabeledRectangle with the passed in parameters + * + * @param x x-coordinate location of the LabeledRectangle + * @param y y-coordinate location of the LabeledRectangle + * @param width the width of the LabeledRectangle + * @param height the height of the LabeledRectangle + * @param color the JavaFX color of the LabeledRectangle's outline + * @param name the label placed on the LabeledRectangle as text + */ + public LabeledRectangle(double x, double y, double width, double height, Color color, + String name) { + super(x, y, width, height, color); + this.name = name; + } + + /** + * Draws the LabeledRectangle in the current WinPlotterFX window + * + * @param plotter the current WinPlotterFX being used + */ + public void draw(WinPlotterFX plotter) { + super.draw(plotter); + plotter.printAt(x + width / 2, y + height / 2, name); + } +} diff --git a/Lab 4/src/barnestr/LabeledTriangle.java b/Lab 4/src/barnestr/LabeledTriangle.java new file mode 100644 index 0000000..3ae253d --- /dev/null +++ b/Lab 4/src/barnestr/LabeledTriangle.java @@ -0,0 +1,49 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + +/** + * This class represents a LabeledTriangle extension of the Triangle Class + * + * @author barnestr + * @version 2.0 + */ +public class LabeledTriangle extends Triangle { + + String name; + + /** + * Constructor - creates the LabeledTriangle with the passed in parameters + * + * @param x x-coordinate location of the LabeledTriangle + * @param y y-coordinate location of the LabeledTriangle + * @param base the bottom side length of the LabeledTriangle + * @param height the height of the LabeledTriangle + * @param color the JavaFX color of the LabeledTriangle's outline + * @param name the label placed on the LabeledTriangle as text + */ + public LabeledTriangle(double x, double y, double base, double height, Color color, + String name) { + super(x, y, base, height, color); + this.name = name; + } + + /** + * Draws the LabeledTriangle in the current WinPlotterFX window + * + * @param plotter the current WinPlotterFX being used + */ + public void draw(WinPlotterFX plotter) { + super.draw(plotter); + plotter.printAt(x + base / 3, y + height / 4, name); + } +} diff --git a/Lab 4/src/barnestr/Point.java b/Lab 4/src/barnestr/Point.java new file mode 100644 index 0000000..a592154 --- /dev/null +++ b/Lab 4/src/barnestr/Point.java @@ -0,0 +1,43 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + +/** + * This class represents a Point extension of the Shape Class + * + * @author barnestr + * @version 2.0 + */ +public class Point extends Shape { + + /** + * Constructor - creates the Point with passed in parameters + * + * @param x x-coordinate of the Point + * @param y y-coordinate of the Point + * @param color the JavaFX color of the point + */ + public Point(double x, double y, Color color) { + super(x, y, color); + + } + + /** + * Draws the Point in the current WinPlotterFX window + * + * @param plotter the current WinPlotterFX window being used + */ + public void draw(WinPlotterFX plotter) { + setPenColor(plotter); + plotter.drawPoint(x, y); + } +} diff --git a/Lab 4/src/barnestr/Rectangle.java b/Lab 4/src/barnestr/Rectangle.java new file mode 100644 index 0000000..b72db67 --- /dev/null +++ b/Lab 4/src/barnestr/Rectangle.java @@ -0,0 +1,53 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + +/** + * This class represents a Rectangle extension of the Shape Class + * + * @author barnestr + * @version 2.0 + */ +public class Rectangle extends Shape { + + protected double height; + protected double width; + + /** + * Constructor - creates the Rectangle with the passed in parameters + * + * @param x x-coordinate location of the Rectangle + * @param y y-coordinate location of the Rectangle + * @param width the width of the Rectangle + * @param height the height of the Rectangle + * @param color the JavaFX color of the Rectangle's outline + */ + public Rectangle(double x, double y, double width, double height, Color color) { + super(x, y, color); + this.width = width; + this.height = height; + } + + /** + * Draws the Rectangle in the current WinPlotterFX window + * + * @param plotter the current WinPlotterFX being used + */ + public void draw(WinPlotterFX plotter) { + setPenColor(plotter); + plotter.moveTo(x, y); + plotter.drawTo(x + width, y); + plotter.drawTo(x + width, y + height); + plotter.drawTo(x, y + height); + plotter.drawTo(x, y); + } +} diff --git a/Lab 4/src/barnestr/Shape.java b/Lab 4/src/barnestr/Shape.java new file mode 100644 index 0000000..32d64da --- /dev/null +++ b/Lab 4/src/barnestr/Shape.java @@ -0,0 +1,59 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + + +/** + * This class represents a generic graphical shape + * + * @author barnestr + * @version 2.0 + */ +public abstract class Shape { + + private Color color; + protected double x; + protected double y; + + /** + * Constructor - initializes Shape attributes + * + * @param x x-coordinate of the shape + * @param y y-coordinate of the shape + * @param color the outlined JavaFX color of the shape + */ + public Shape(double x, double y, Color color) { + this.x = x; + this.y = y; + this.color = color; + } + + /** + * Sets the pen color on the WinPlotter object to match the current outline color of the shape + * + * @param plotter the current WinPlotterFX being used + */ + public void setPenColor(WinPlotterFX plotter) { + plotter.setPenColor(color.getRed(), color.getGreen(), color.getBlue()); + } + + public abstract void draw(WinPlotterFX plotter); + + /** + * Sets the JavaFX color of the shape + * + * @param color the JavaFX color of the shape outline + */ + public void setColor(Color color) { + this.color = color; + } +} diff --git a/Lab 4/src/barnestr/Triangle.java b/Lab 4/src/barnestr/Triangle.java new file mode 100644 index 0000000..0bd97df --- /dev/null +++ b/Lab 4/src/barnestr/Triangle.java @@ -0,0 +1,52 @@ +/* + * SE1021 + * Spring 2018 + * Lab 4 - Inheritance + * Name: Trevor Barnes + * Created: 3/28/18 + */ + +package barnestr; + +import edu.msoe.winplotterfx.WinPlotterFX; +import javafx.scene.paint.Color; + +/** + * This class represents a Triangle extension of the Shape Class + * + * @author barnestr + * @version 2.0 + */ +public class Triangle extends Shape { + + protected double base; + protected double height; + + /** + * Constructor - creates the Triangle with the passed in parameters + * + * @param x x-coordinate location of the Triangle + * @param y y-coordinate location of the Triangle + * @param base the bottom side length of the Triangle + * @param height the height of the Triangle + * @param color the JavaFX color of the Triangle's outline + */ + public Triangle(double x, double y, double base, double height, Color color) { + super(x, y, color); + this.base = base; + this.height = height; + } + + /** + * Draws the Triangle in the current WinPlotterFX window + * + * @param plotter the current WinPlotterFX being used + */ + public void draw(WinPlotterFX plotter) { + setPenColor(plotter); + plotter.moveTo(x, y); + plotter.drawTo(x + base, y); + plotter.drawTo(x + base / 2, y + height); + plotter.drawTo(x, y); + } +} diff --git a/Lab 5/.idea/checkstyle-idea.xml b/Lab 5/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..0222ecf --- /dev/null +++ b/Lab 5/.idea/checkstyle-idea.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/Lab 5/.idea/checkstyleidea-libs/readme.txt b/Lab 5/.idea/checkstyleidea-libs/readme.txt new file mode 100644 index 0000000..1054ddc --- /dev/null +++ b/Lab 5/.idea/checkstyleidea-libs/readme.txt @@ -0,0 +1,6 @@ +This folder contains libraries copied from the "Lab 5" project. +It is managed by the CheckStyle-IDEA IDE plugin. +Do not modify this folder while the IDE is running. +When the IDE is stopped, you may delete this folder at any time. It will be recreated as needed. +In order to prevent the CheckStyle-IDEA IDE plugin from creating this folder, +uncheck the "Copy libraries from project directory" option in the CheckStyle-IDEA settings dialog. diff --git a/Lab 5/.idea/compiler.xml b/Lab 5/.idea/compiler.xml new file mode 100644 index 0000000..217af47 --- /dev/null +++ b/Lab 5/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/Lab 5/.idea/description.html b/Lab 5/.idea/description.html new file mode 100644 index 0000000..cc10d56 --- /dev/null +++ b/Lab 5/.idea/description.html @@ -0,0 +1,2 @@ +Simple JavaFX 2.0 application that includes simple .fxml file with attached controller and Main class to quick start. Artifact to build JavaFX application is provided. + \ No newline at end of file diff --git a/Lab 5/.idea/encodings.xml b/Lab 5/.idea/encodings.xml new file mode 100644 index 0000000..e206d70 --- /dev/null +++ b/Lab 5/.idea/encodings.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Lab 5/.idea/gradle.xml b/Lab 5/.idea/gradle.xml new file mode 100644 index 0000000..157a0c1 --- /dev/null +++ b/Lab 5/.idea/gradle.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/Lab 5/.idea/misc.xml b/Lab 5/.idea/misc.xml new file mode 100644 index 0000000..a4e3dc8 --- /dev/null +++ b/Lab 5/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 5/.idea/modules.xml b/Lab 5/.idea/modules.xml new file mode 100644 index 0000000..9ef4a9c --- /dev/null +++ b/Lab 5/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Lab 5/.idea/uiDesigner.xml b/Lab 5/.idea/uiDesigner.xml new file mode 100644 index 0000000..3b00020 --- /dev/null +++ b/Lab 5/.idea/uiDesigner.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Lab 5/.idea/vcs.xml b/Lab 5/.idea/vcs.xml new file mode 100644 index 0000000..def6a6a --- /dev/null +++ b/Lab 5/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Lab 5/.idea/workspace.xml b/Lab 5/.idea/workspace.xml new file mode 100644 index 0000000..8768b84 --- /dev/null +++ b/Lab 5/.idea/workspace.xml @@ -0,0 +1,1041 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1524076318420 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No facets are configured + + + + + + + + + + + + + + + 1.8 + + + + + + + + Lab 6 + + + + + + + + lab6 + + + + + + + + \ No newline at end of file diff --git a/Lab 6/Lab 6.iml b/Lab 6/Lab 6.iml new file mode 100644 index 0000000..dfff238 --- /dev/null +++ b/Lab 6/Lab 6.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Lab 6/libs/lab6.jar b/Lab 6/libs/lab6.jar new file mode 100644 index 0000000..102b170 Binary files /dev/null and b/Lab 6/libs/lab6.jar differ diff --git a/Lab 6/out/production/Lab 6/barnestr/Controller.class b/Lab 6/out/production/Lab 6/barnestr/Controller.class new file mode 100644 index 0000000..85cafec Binary files /dev/null and b/Lab 6/out/production/Lab 6/barnestr/Controller.class differ diff --git a/Lab 6/out/production/Lab 6/barnestr/Lab06.class b/Lab 6/out/production/Lab 6/barnestr/Lab06.class new file mode 100644 index 0000000..b654294 Binary files /dev/null and b/Lab 6/out/production/Lab 6/barnestr/Lab06.class differ diff --git a/Lab 6/out/production/Lab 6/barnestr/Lab06.fxml b/Lab 6/out/production/Lab 6/barnestr/Lab06.fxml new file mode 100644 index 0000000..1ab488b --- /dev/null +++ b/Lab 6/out/production/Lab 6/barnestr/Lab06.fxml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + +