CreatePane.java - Assignment 6 Arizona State University...

This preview shows page 1 - 2 out of 2 pages.

// Assignment #: 6 Arizona State University CSE205 // Name: Luis // StudentID: 1213343688 // Lecture: 10:45 // Description: CreatePane generates a pane where a user can enter // a movie information and create a list of available movies. import java.util.ArrayList; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.layout.*; import javafx.scene.control.*; import javafx.event.EventHandler; import javafx.geometry.*; import javafx.scene.paint.*; import javafx.scene.Scene; import javafx.stage.*; public class CreatePane extends HBox { private boolean first = true; private ArrayList<Movie> movieList; private TextField field1 = new TextField(""); private TextField field2 = new TextField(""); private TextField field3 = new TextField(""); private Label label1, title, length, year ; private TextArea area1 = new TextArea("No Movie"); //The relationship between CreatePane and ReviewPane is Aggregation private ReviewPane reviewPane; public CreatePane(ArrayList<Movie> list, ReviewPane rePane) { this.movieList = list; this.reviewPane = rePane; Pane pane1 = new Pane();

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture