<DarkJesus> God damn, how am I supposed to do this...?
* DavidHKMrPowers (n=chatzill@unaffiliated/davidhkmrpowers) has joined ##java
<DarkJesus> OK, I have to make a gui application for a library
* Carnage\ has quit ()
* lang72 has quit ("Leaving")
<DarkJesus> The second button searches the library for descriptions of books and outputs them if they match the entered string
<DarkJesus> I have that working fine
<DarkJesus> But the third button is confusing m
<DarkJesus> e
<DarkJesus> It is for setting a borrower on a book
<DarkJesus> But the book to be set is meant to be the book that was generated in the last search
* Insolit has quit (Nick collision from services.)
<DarkJesus> In order to do this, it has to check if there was only one result from the last search
<DarkJesus> And I do not have a clue how that would be done!
<DarkJesus> Anyone got any ideas?
* Insolit (n=daniel@a83-132-232-71.cpe.netcabo.pt) has joined ##java
<DarkJesus> The search method only uses System.out.println to output the searches, if the search string was contained in the descritpion of the book
<DarkJesus> So it probably has to somehow count the number of lines outputted by the search method
<DarkJesus> Is this possible?
<DarkJesus> And if it is, how do I then make it save the output if it is one line only?