• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Author add & Title Add, textboxes must coexist in one screen layout

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In textbook "HTP7 JAVA, DEITEL" (How To Program 7/E)
I find below 25.3 exercise, can you tell the GUI how will look like, for Add/Edit Authors/Textbooks?
As Fig. 25.32 | A simple address book.(Part 8 of 8.) example in textbook, but how exist both Authors and Titles forms?
How supposed to Solve...?
Author add & Title Add, textboxes must coexist in one screen layout?
if submit an Author, may be the Title of book TextField be empty?
(ch.25)
25.3
Define a data-manipulation application for the books database. The user should be able to
edit existing data and add new data to the database (obeying referential and entity integrity constraints).
Allow the user to edit the database in the following ways:
a) Add a new author.
b) Edit the existing information for an author.
c) Add a new title for an author. (Remember that the book must have an entry in the authorISBN table.).
d) Add a new entry in the authorISBN table to link authors with titles.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If it is an exercise in Deitel, it is for you to decide what it looks like.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is the easiest way to solve, and what you will get done, if you are in my place?
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Draw what you want for the GUI with pencil and paper.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May exist ALL Fields in the View layout, and also two submit buttons one for Authors and one for Titles, and you fill only required for each submit button?
is this bad practice, isn't it?
 
I will open the floodgates of his own worst nightmare! All in a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic