Programming > GUIDELINES > Arizona State University CSE 205 View.java (All)

Arizona State University CSE 205 View.java

Document Content and Description Below

Arizona State University CSE 205 View.java //****************************************************************************** ******************** // 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 Main.run() 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: 2 years ago

Preview 1 out of 7 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$9.00

Buy Now

We Accept:

We Accept

Instant download

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

165
0

Document information


Connected school, study & course


About the document


Uploaded On

Dec 09, 2021

Number of pages

7

Written in

Seller


seller-icon
Kirsch

Member since 5 years

941 Documents Sold

Reviews Received
111
37
8
4
28
Additional information

This document has been written for:

Uploaded

Dec 09, 2021

Downloads

 0

Views

 165

Document Keyword Tags


$9.00
What is Scholarfriends

In Scholarfriends, 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.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·