Create a simple object based gui application, JAVA Programming

Assignment Help:

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.

Deliverables:

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

1512_design preview.png


Related Discussions:- Create a simple object based gui application

Simple Java Project Please help, I have a project due tonight and I need he...

I have a project due tonight and I need help setting up the project I know what I need to put in the class but not sure how to set it up properly

How is method overriding different from method overloading, How is method o...

How is method overriding different from method overloading? Overriding involves the creation of two or more concepts with the same name and same signature in different classes

Are constructors inherited, Are constructors inherited ? Can a subclass ca...

Are constructors inherited ? Can a subclass call the parent class constructor and When?

How much cpu time does an applet get, How much CPU time does an applet get?...

How much CPU time does an applet get? One of the few legitimate concerns about hostile applets is excessive use of CPU time. It is possible on a non-preemptively multitasking s

Using the Case Study supplied, The report: Your report must describe the re...

The report: Your report must describe the requirements of the application, outline the design of the solution, and provide a testing procedure to prove the application works. In yo

Javascript validarion, 1. Obtaining the new script: Download and save the a...

1. Obtaining the new script: Download and save the attached comment CGI mailer script form-mail2.pl to your server''s cgi-bin directory, and change the permissions on the script to

Socket in java networking and rmi, What Is a Socket in Java Networking and ...

What Is a Socket in Java Networking and RMI? Ans) A socket is one end-point of a two-way communication link among two programs running on the network. A socket is bound to a por

Web application in Java.., 1. Go to www.bytesizebook.com 2. Follow the firs...

1. Go to www.bytesizebook.com 2. Follow the first link: Guide to Web Development with Java 3. Click on Examples tab 4. Go down to Chapter 4 to find all jar folders, packages, class

Java, Write a program called Power that displays the positive powers of 2. ...

Write a program called Power that displays the positive powers of 2. When the user enters the exponent at a prompt, the program displays 2 to that power. The program halts when the

Universal android and ios, Universal Android and iOS, Multipurpose Testing ...

Universal Android and iOS, Multipurpose Testing Application - Based on Phonegap Project Description: Universal Android and iOS, Multipurpose Testing Application Based on Phon

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd