CreatePanel.java - Assignment 6 Name your name StudentID...

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

// Assignment #: 6// Name: your name// StudentID: your id// Lecture: your lecture days/time// Arizona State University CSE205// Description: It needs to be filledimport java.awt.*;import java.awt.event.*;import javax.swing.*;import java.util.*;public class CreatePanel extends JPanel{//vector contains all booksprivate Vector bookList;//submit buttonprivate JButton button1;//review panelprivate ReviewPanel rPanel;//two labels besides textareaprivate JLabel bookTitle;private JLabel publisher;//notification messageprivate JLabel message;//title textprivate JTextArea titleText;//publisher textprivate JTextArea publishText;//display areaprivate JTextArea BookInfo;//scroll panel for display areaprivate JScrollPane scroll;//Constructor initializes components and organize them using certain layoutspublic CreatePanel(Vector bookList, ReviewPanel rPanel){this.bookList = bookList;this.rPanel = rPanel;//organize components here//manually set layout this.setLayout(null);//create two labelbookTitle = new JLabel("Book Title");

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture