In my mock library you can check for a title to borrow(this works),and return "if" you have a book to return.I can check a string in an object(!"".equals(book1.getTitle())).Cant figure out how to check for title if book is borrowed (borrowed object is book object with getTitle method).
???if (!"".equals(patron1.getBorrowed1()))???Im very newbee-ish,Need something like this,I think,maybe,well...er.Something that workd though.
\\my libraryinterface is a huge newbee(helloworld last fall)mess, Hope I pulled the relevant code.thankyou
ps no error message just incorrect results
[ edited to format code and to preserve formatting using the [code] and [/code]
UBB tags -ds ]
[ February 28, 2004: Message edited by: Dirk Schreckmann ]