Reference no: EM132312903
Film Database Application
Read this entire brief before starting your assignment.
Brief - Design and implement a film database application using MVC architecture. Use the provided FruitList GUI as a starting point.
Functionality
Your application allows the user to display, add to and search a list of films stored in a text file database via a GUI:
- View the list of all films stored in the database
- Add new films to the list
- Delete existing films from the list
- Filter the list of films according to a search term
- Read a text file database when the application starts
- Save the text file database when the application exits
Starting point
Start by downloading the assignment4.zip file available on Blackboard and import the project into your Eclipseworkspace. There is a fruitapp package containing five classes corresponding to the Model (Fruit and FruitList) View (FruitListPanel) and Controller (FruitListApp). The ReadFruitListData class has two static methods to load and read Fruit objects in a FruitList from the file fruitlistdata/fruits.txt
You will use these files as a starting point to creating your own film database application.
Film List
Your application must display a list of the titles of films in the database. Use appropriate Swing (JComponent-based) components to enable the user to input new films. The user may also select and remove films from the database.
Filtering the list via a search term
Your application has a search input field to allow the user to enter a keyword. There are two buttons:
- Search: performs a search and displays only those films containing the search term in the title.
- Clear: clears the search bar and shows all films in the film database.
Note that the search functionality does not remove any films from the database.
Text File Processing
Your application loads Film object data from the text file on startup to populate the GUI. When the application closes, the films are written to the text file. Modify the existing code in the ReadFruitListData class file.
Suggestions
- Your assignment must adhere to the MVC design pattern. Use the code in the provided assignment4.zip file as a starting point.
- Start by designing the models. You will likely need Film and FilmDatabase objects and perhaps other objects. Ask yourself: What data must we store? A list of films? Could any of the data be represented by enumerated types? Then ask: what functionality must we have? This helps you design objects with methods which implement the core functionality of the database and search.
- Design the structure of the text file. The ReadFruitListData class loads and stores Fruit objects but can easily be adapted to store films. Reuse this code.
- Design a method for searching the film database e.g. perhaps it returns a new FilmDatabase with films satisfying the search terms.
- Only after these activities are completed should you work on designing the graphical user interface.
Javadoc Commenting
1. Your classes must have commenting of the form:
/**
* Comment describing the class.
* @author kjohnsonstudentnumber
**/
2. All methods must be commented with appropriate Javadocs metatags. For example:
/**
* A comment to describe the method
* @param a parameter description
* @return a description of the returned result
* @author kjohnsonstudentnumber
* */
Attachment:- Film Database Application.zip
|
Present worth of the savings due to the reconfiguration
: Using an interest rate of 15% per year, determine the present worth of the savings due to the reconfiguration.
|
|
University of chicago booth school of business
: Richard Thaler, (Professor, The University of Chicago Booth School of Business) said: "We failed to learn from the hedge fund failures of the late '90s."
|
|
Macy and kohl are hit by weak holiday sales
: Article from Wall Street Journal, ‘Macy's and Kohl's are Hit by Weak Holiday Sales'.Macy's poor performance can be documented by reading first page of Company
|
|
Five stages of economic growth and categorize
: Review Rostow's five stages of economic growth and categorize the following countries: Spain, U.S.A., Uganda, Brazil, and China. W. W. Rostow
|
|
Implement a film database application using mvc architecture
: Film Database Application - Brief - Design and implement a film database application using MVC architecture. Use the provided FruitList GUI as a starting point
|
|
Discussion for saving for retirement
: Need some help to reply to this for discussion for saving for retirement:
|
|
What are major pricing and non-pricing
: What are major pricing and non-pricing strategies for an oligopoly?
|
|
Chelsea follett about overcoming future resource scarcity
: Do you agree or disagree, and why, with Chelsea Follett about overcoming future resource scarcity?
|
|
Increase in the demand for services
: In the context of providing massage therapy services, list, and describe in detail, five different variables that may cause an increase in the demand
|