Programming > GUIDELINES > Arizona State University CSE 205 (All)

Arizona State University CSE 205

Document Content and Description Below

Arizona State University CSE 205 //****************************************************************************** ******************** // CLASS: View // // DESCRIPTION // The View clas... s implements the GUI. It is a subclass of JFrame and implements // the ActionListener interface so that we can respond to user-initiated GUI // events. // // // COURSE AND PROJECT INFO // CSE E205 Object Oriented Programming and Data Structures, SummerB 2020 // Project Number: 3 // // AUTHOR: //****************************************************************************** ******************** package proj3; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; /** * The View class implements the GUI. It is a subclass of JFrame and implements * the ActionListener interface so that we can respond to user-initiated GUI * events. */ public class View extends JFrame implements ActionListener { /** * The width of the View frame. */ public static final int FRAME_WIDTH = 525; /** * The height of the View frame. */ public static final int FRAME_HEIGHT = 225; /** * When the View() ctor is called from to create the View, run() * passes a reference to the Main object as the argument to View(). We save * that reference into mMain and then later we can use mMain to communicate * with the Main class. * * mMain is made accessible within this class via accessor/mutator methods * getMain() and setMain(). It shall not be directly accessed. */ private Main mMain = new Main(); /* * Declare GUI related instance variables for the buttons and text fields. */ private JButton mClearButton; private JTextField[] mExamText; private JButton mExitButton; private JTextField[] mHomeworkText; ::::::::::::::::::::::::::::::::::::::::::CONTINUED IN THE ATTACHMENT :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: [Show More]

Last updated: 1 year ago

Preview 1 out of 7 pages

Reviews( 0 )


Add to cart

Instant download

Can't find what you want? Try our AI powered Search



Document information

Connected school, study & course

About the document

Uploaded On

Dec 09, 2021

Number of pages


Written in



Member since 4 years

873 Documents Sold

Additional information

This document has been written for:


Dec 09, 2021





Document Keyword Tags


Avoid resits and achieve higher grades with the best study guides, textbook notes, and class notes written by your fellow students

custom preview

Avoid examination resits

Your fellow students know the appropriate material to use to deliver high quality content. With this great service and assistance from fellow students, you can become well prepared and avoid having to resits exams.

custom preview

Get the best grades

Your fellow student knows the best materials to research on and use. This guarantee you the best grades in your examination. Your fellow students use high quality materials, textbooks and notes to ensure high quality

custom preview

Earn from your notes

Get paid by selling your notes and study materials to other students. Earn alot of cash and help other students in study by providing them with appropriate and high quality study materials.


What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 Questions? Leave a message!

Follow us on
Useful links
  • Courses
  • Categories
  • We accept

    payment cards

    Copyright © Browsegrades · High quality services·