nick2price, on 22 Jun, 2009 - 08:05 PM, said:
Anywhere it cant find it in Product class, this means you dont have a get method for that in your Product class. This means you will have to go back to your Product class and add the get methods like how you have your other get methods in there.
As not not being able to display int or double, or you need to do is cast them to a String. Pretty straight forward.
And the invoke thing in your main just calls instantiates the constructor of your gui class. Its quite a common way of doing it in gui applications.
As not not being able to display int or double, or you need to do is cast them to a String. Pretty straight forward.
And the invoke thing in your main just calls instantiates the constructor of your gui class. Its quite a common way of doing it in gui applications.
If I am supposed to add the methods into my Product class, this is going to make DVD class obsolete if I have to put all that info into Product class. Is that what you are suggesting? I'm not sure how I would keep using my DVD class and the Product class both, or if I can?

New Topic/Question
Reply





MultiQuote



|