Create a simple object based gui application, JAVA Programming

Objective: create a simple object, put that object in a simple collection class, use that object and collection in a simple GUI application.

Specification:  Consider a Library that contains Books. The Book class has attributes for the author, title and number of copies and methods for getting/setting the attributes, borrow a book and return a book.

The Library class stores a collection of Book objectsin an ArrayList.

The program should have the following functionalities:

-   add/delete a book from the Collection

-   borrow/return  aselected book. When borrowing a Book object the number of copies attribute should decrease by 1 while when returning the Book object the number of copies attribute should increase by 1. You should check if the number of copies gets 0.

The class diagram for the classes described above is depicted in Figure.

Implement the classes defined above and provide a simple GUI to handle them. The GUI may look like Figure

Do not consider at this time Exceptions.


Submit in the Assignments folder under the Project1 link the source files of your project (.java files).

1512_design preview.png

Posted Date: 3/13/2013 3:40:59 AM | Location : United States

Related Discussions:- Create a simple object based gui application, Assignment Help, Ask Question on Create a simple object based gui application, Get Answer, Expert's Help, Create a simple object based gui application Discussions

Write discussion on Create a simple object based gui application
Your posts are moderated
Related Questions
What are the role of Keywords in java? Keywords are identifiers such as public, static and class in which have a special meaning inside Java source code and outside of comments

I want Java a Web Technologies expertise Project Description: Good Java knowledge about 4-5 years to develop online enterprise tool. Seeking someone who is interested to w

This is a working program that shows election results from the infamous 2000 presidential election involving a lot of Floridians and 'hanging chads'. The program as written reads a

Project Description: Introduction: SID C.A. (integradores) is a software company in Venezuela 15 years ago, and we are exploring the possibility of making mobile developments

The class TurtleQTwo extends Turtle by adding one new method, plus, which is specified below. (All other features of TurtleQTwo are the same as for Turtle.) method plus(n in

Need Java/JNLP Application - GUI and Backend Projects Project Description: I am looking for assistance in making changes to a complex java application. System launches fro

Android and Universal iOS, Multipurpose Testing App Universal iOS and Android, versatile Testing App Based on Phonegap with the subsequent main features * Support single answ

Automated the claim sub-system: Insurance Domain:       CIA-MI   Type                                         Development - Web-based Application Role

A:Java is a computer language. There are some of the reasons which describe:   1. Built-in support for multi-threading, memory management (automatic garbage collection), and