Question: Create a GUI - based Team Manager application. You must use JavaFX - ( see chapters 1 2 , 1 3 , 1 4 )

Create a GUI-based "Team Manager" application. You must use JavaFX -(see chapters 12,13,14) and you cannot use any pop-up dialogs (JOptionPane) for input or output (use TextField or Label !)
#1(10 pts): Create a "Sports Team" superclass with 2 constructors (a default/no-arg and a parameterized one with args), at least 3 characteristics (instance variables), and appropriate setter and getter methods. In addition to the >3 instance variables, add an extra instance field called
"teamID" with setter/getter so you can use it for the
"Search" feature you are implementing in (#8).
#2(10 pts): Create 2 specialized types of Sports Team subclasses (for example, BaseballTeam,..) each with 2 constructors (a default/no-arg and a parameterized one with args), at least 3 characteristics (instance variables), and appropriate setter and getter methods. Additionally, each constructor must call the superclass' constructor.
#3(5 pts): Create an ArrayList of Sports Team. Hardcode at least 3 of them in your array to begin with (they should be a combination of different specific teams i..., BaseballTeam, SoccerTeam,..) so you have them for your GUI list in (#4).
#4(10 pts): Present a GUI List of Sports Team objects from the ArrayList in (#3). You can just put a list of names for simplicity sake.
#5(10 pts): Display (in GUI, not a popup - labels, textfields) the characteristics (instance variables) about the sports team currently selected from list in (#4)
#6(10 pts): Add Team / Delete Team buttons or menu items. You should have text fields to enter information for a new team. There should be a way to indicate what specific kind of team they are creating for the Add feature. You should update your ArrayList from (#3) as you add and delete items.
#7(20 or 25 pts): As you select from your list, show a picture - logo of the current team chosen. Choose either way to do this:
Approach #1(worth standard 20 pts): Show different pictures (use images/imageview) of team logos depending upon selection.
Approach #2(worth 25 pts so 5 extra credit points here) :
Update a "pane" or "canvas" with a drawing of the team logo (it doesn't have to be "beautiful" since we aren't an Art class) using shapes (reference how your drew the "Car" from one of your Extra Credit Labs)(hint: make a few different draw methods - drawTeamLogol, drawTeamLogo20,... and call the appropriate one as they select it from the list as the current one). You can make up team logos they don't have to be actual ones.
#8(10 pts)(chapter 15): Have a "SEARCH" feature for your Team Manager which will show the characteristics of the team if it is found. You can make this a button or a menu item. You must use the RECURSIVE binary search algorithm from chapter 15(copy it into your code) which takes a sorted list of integers and looks for a number in that list (hint: put the team ids into a sorted list and then use that to search for a team id. If the team id is found, show the characteristics of the building (use a label or text field) and if the team id is not found, use the label to indicate that it wasn't found).
#9(15 pts)(chapter 16): Implement a "SAVE" feature.
Create 2 database tables - one for each of the subclasses (for instance BaseballTeams, Soccer Teams) & save your team information to it after user clicks on a "Save" button or a save menu item. Don't forget to add the fields from the superclass as database columns/fields in both tables!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!