Review communication between classes in preparation for the


Requirements

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

You will start with this Java Netbeans project.

The application has 2 panels. The expected functionality is that the user clicks on the button in the top panel and the information about the position of football player is displayed at the bottom panel.

You need to do the project in 3 different ways and submit one working version for each of it.

In the first version:
You will make many changes in the code of TopPanel.java
Update 1 or 2 lines only of InitialPanel.java.

The listener has to be implemented in TopPanel.java
Clearly label your project a V1

In the second version:

You will make changes in the code of BottomPanel.java and InitialPanel.java only.
Update 1 or 2 lines only of InitialPanel.java.
The listener has to be implemented in BottomPanel.java
Clearly label your project a V2

In the third version:

You will make changes in the code of InitialPanel.java only.
Clearlylabel your project a V3

For all three versions, the footballPlayer will be created only once in the TopPanel class. You should not have a "new footballPlayer" statement anywhere else in the code.

Review Communication between Classes in preparation for the assignment.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Review communication between classes in preparation for the
Reference No:- TGS02386351

Now Priced at $15 (50% Discount)

Recommended (99%)

Rated (4.3/5)