All thunder is welcome here, as there is certainly none coming from me!
I do think I understand a little better. I added a cast to CdwArtist, andI made some changes that I think help, but got a new error that I have never seen before.
priceField.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent evt)
{
valueField.setValue("$"+new Float(currentCD.getValue()));
}
});
Inventory2.java:189: local variable currentCD is accessed from within inner class; needs to be declared final.
I do not know what to do with this. I know what it means to delcare something final, but not how or why it would apply to this statement.
I think I am getting dumber as the day goes on.
I never drew first, but I drew first blood.
I'm no ones son, unforgiven.