Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Topic 1 : The Background section is as follows
They take requests from home owners for a type of service, and offer the homeowner one or more contractors that can provide the required services.
Does that mean that, we have to allow multi-select in the JTable to select one or more contractors? Anyone has implemented multi-select ?
Topic 2 : Page 3 The User Interface section is as follows
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
This line is in conflict with the DB interface specified in page 4. The following requirement is for the find() method.
// Returns an array of record numbers that match the specified
// criteria. Field n in the database file is described by
// criteria[n]. A null value in criteria[n] matches any field
// value. A non-null value in criteria[n] matches any field
// value that begins with criteria[n]. (For example, "Fred"
// matches "Fred" or "Freddy".)
public int[] find(String[] criteria);
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
SCJP 1.4, SCJD 1.4, SCWCD 1.3, SCBCD 1.3, IBM Certified Solution Developer -WebSphere Studio V5.0
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
SCJP 1.4, SCJD 1.4, SCWCD 1.3, SCBCD 1.3, IBM Certified Solution Developer -WebSphere Studio V5.0
I had the same question as Suds and was curious why they would have stated it like this.
I'm thinking about not making it case sensitive so the user won't have to put in all the upper case letters etc. Let me know if both of you think this is a viable solution.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog