ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 03 May 2017 My Price 9.00

create basic windows

Assignment Objectives

  • Learn how to create basic windows
  • Use non-graphical classes (footballPlayer) with graphical classes (JFrame, JPanel, and JButton)
  • Organize graphical components on the screen using layouts

Deliverables

  • A zipped Java project according to theHow to submit Labs and Assignments guide.

O.O. Requirements

  • use static variables and methods only if needed
  • encapsulation: make sure you protect your class variables and provide access to them though methods

Graphics Requirements

  • Start with a simple class with the main method.
    • the only thing this class will do is to create the first JFrame
    • then the Frame class will create the first Panel

Contents

Create a graphic application. The panel should show 11 players representing a College football team line up.

The information on JButtons should come from the collegeFootballPlayer objects.

Below is a sketch of what ot should look like (the final application may vary, but it should have one panel with 11 buttons with information from the collegeFootballPlayer objects).

You can/should use/reuse classes from previous labs, assignments and examples.

The attributes of your collegeFootballPlayer from previous labs may differ from my example below. This is not a problem, use yours. The goal of this lab is to have buttons displaying information retrieved from collegeFootballPlayer objects.

Also required for this lab:

  • You need to use a layout here instead of going with the default layout (below). 
  • You need to combine a button and a FootballPlayer creating a new "hybrid" class using what you learned about inheritance

Attachments:

Answers

(11)
Status NEW Posted 03 May 2017 04:05 AM My Price 9.00

-----------

Not Rated(0)