Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help..this is overwhelming... Create a user interface for a library appli

ID: 3552841 • Letter: P

Question

Please help..this is overwhelming...


Create a user interface for a library application that allows the user (i.e., the Librarian) to enter Book objects.


First creates a mockup/wireframe of the window.

Create a Java UI that implements the mockup/wireframe.

Create a business layer manager, BookMgr, with the following stubbed-out method:

- public Book storeBook(Book book). The add button will cause the user-supplied information to be packaged into a domain Book object. It will also:

-Pass the domain Book object to the BookMgr.storeBook function.

-Display the state of the Book using its overridden toString() method; e.g., System.out.println(book.toString()).

Explanation / Answer

import java.util.*; class bookshopmethods { Scanner in = new Scanner(System.in); int n=2; String[] title = new String[n]; String[] author = new String[n]; String[] publisher = new String[n]; int[] cost = new int[n]; int[] count = new int[n]; void setdata() { for(int i=0;i