• 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

FBNS: How many screens

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all.

I am getting started on the SCJD, but I have a rather fundamental and simple question that's bugging me. The specs seem to be saying that I need to implement the public methods in Data.java, which include add, modify and delete methods. It also says the program needs to save flight schedule info on a number of airlines and flight routes.

So in terms of GUI, would I be right in having about 2 screens (other than a connection dialog), one for search and booking/unbooking that has a big JTable, and one for adding, modifying, deleting that uses lots of input widgets like textboxes?

I have read The Sun Certified Java Developer Exam with 1.4 by Habibi et. al and Kathy Sierra's Java 2 Sun Certified Programmer & Developer for Java 2, but I'm really unsure.
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ian

You should check your instructions - under the section titled "Creating the user interface" you probably have:

The user interface for this assignment must satisfy the following criteria:

  • Only components from the Java Foundation Classes (Swing components) should be used.
  • The main data output section of the user interface should be created using a JTable.
  • The user interface should connect to the database using either a local or a network based connection according to user choice.
  • The user should be able to select the origin and destination of flights, and the display should update to show only flights that satisfy those criteria. The user must be able to describe enter the string value "any" for the origin, destination, or both, so as to implement a wildcard-like feature.
  • The user must be able to book one or more seats on a chosen flight. If the flight cannot provide those seats, the user must be informed. It is not necessary to provide for live updates on multiple clients when new bookings are made at other clients.

  • Your user interface should be designed with the expectation of future functionality enhancements, and it should establish a control scheme that will support this with minimal disruption to the users when this occurs.

    Nothing else is required, so you do not have to have add / modify / delete functionality.

    Regards, Andrew
     
    Ian Warker
    Greenhorn
    Posts: 3
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks Andrew for your quick response.

    I have all the specs in Japanese and when I took a closer look at the background info section I suddenly got the feeling that I needed to save new flight information because 'keep flight schedule information' in Japanese comes out as 'save flight schedule information' in backtranslation). I was referring to the bit just before 'Your assignment is to complete this project' etc. But the section you quote is definitely exactly like my specs.

    So I take it that the background info is just letting me know that someone at some later stage willhave the job of including that add, modify, delete functionality. I just need to make sure that they can easily add on to my framework. Yes?

    By the way, the comments in my assignment are in Japanese but the DB implementation cannot handle double-byte chars. So my GUI will end up with a mixture of English and Japanese if I choose to do it in Japanese. I was going to do the GUI in English to match the DB info and just write the comments in code and other documentation in Japanese. Does that sound like a fair approach? I don't suppose I would get away with writing the documentation in English?

    Thanks for the advice. It will cut my workload in half. Maybe.
     
    Andrew Monkhouse
    author and jackaroo
    Posts: 12200
    280
    Mac IntelliJ IDE Firefox Browser Oracle C++ Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Ian,

    So I take it that the background info is just letting me know that someone at some later stage willhave the job of including that add, modify, delete functionality. I just need to make sure that they can easily add on to my framework. Yes?



    Correct.

    Do you have both English and Japanese copies of the instructions?

    By the way, the comments in my assignment are in Japanese but the DB implementation cannot handle double-byte chars. So my GUI will end up with a mixture of English and Japanese if I choose to do it in Japanese. I was going to do the GUI in English to match the DB info and just write the comments in code and other documentation in Japanese. Does that sound like a fair approach? I don't suppose I would get away with writing the documentation in English?



    Personally I would be tempted to do it all in English and then claim in my choices document that it had to be done in a language I could use fluently

    You might want to check that this will be acceptable (email to who2contact@sun.com) first.

    Regards, Andrew
     
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi Ian,


    By the way, the comments in my assignment are in Japanese but the DB implementation cannot handle double-byte chars. So my GUI will end up with a mixture of English and Japanese if I choose to do it in Japanese. I was going to do the GUI in English to match the DB info and just write the comments in code and other documentation in Japanese. Does that sound like a fair approach? I don't suppose I would get away with writing the documentation in English?


    I have the same problem as yours,
    what decisions are you made?

    tang
    [ June 11, 2005: Message edited by: tang moon ]
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic