0

I got 2 questions about assignment 3:

In the video, we have to show the method that has been added to the TemperaturePanel class and explain what it does and where this method is used/called. But I don't get it. So I can't find where this method is used/called, can you help me with that?

Thereby I have kind of the same question:

Where can I find the objects of the TemperaturePanel?

Thanks in advance, Baukje Faber

Share a link to this question (includes your user id)
| edit | | close | delete |
0

Well, that's the method you must add in step 5, at "Add a method to TemperaturePanel ..." it's name is getTemperature().

Objects of the TemperaturePanel are created with a new statement. So look for something like: panel = new TemperaturePanel(...); (in the code of the userinterface).

If you do not know what objects are in general, (re)watch lecture 3, slide 5-9.

Share a link to this answer (includes your user id)
| edit | delete |

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.