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: 3 years ago

Preview 1 out of 7 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Arizona State University  CSE 205 View.java document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$9.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

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

208
0

Document information


Connected school, study & course


About the document


Uploaded On

Dec 09, 2021

Number of pages

7

Written in

All

Seller


Profile illustration for Kirsch
Kirsch

Member since 6 years

949 Documents Sold

Reviews Received
111
37
8
4
28
Additional information

This document has been written for:

Uploaded

Dec 09, 2021

Downloads

 0

Views

 208

Document Keyword Tags

Recommended For You

Get more on GUIDELINES »

$9.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

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·