Wow. For once I was actually thinking too much. That was way too simple. I tend to over analize when I start getting tired.
One more question before I close this out and get some sleep, maybe take a day or two off before I start working on new buttons to put in here, but I am going to try and format the output to be more aestetic than one continuous line, which will mean I only want to display one cd at a time in the output box.
I have been doing stupid crap to it for two days trying to impliment this, I know it has to be simple, but I am just not thinking about it right.
Here is my latest attempt ... I know I need to call newCD right?
public String toString()
{
return listModel.newCD("Artist: " + artist +
" CD Name: " + name +
" Item Number: " + itemno +
" Price: $" + formatter.format(getPrice()) +
" In Stock: " + nstock +
" Stock Value: $" + formatter.format(getValue()) +
" Restocking Fee: $" + restock +
" Total Inventory Value: $" + formatter.format(getTotal()));
I think this is the closest I have to being right, because it only gives me the symbol error, every other thing I have tried really blows up.
I never drew first, but I drew first blood.
I'm no ones son, unforgiven.