I am at the middle of step 4 in the assignment3. The code is the same with the example code, only with different names. However, if I go to Assignment3GUI panel and design, I see this problem. If I run it there are no problems. How can I solve it?
Usually this means there is a problem in the constructor of TemperaturePanel. This issue has been addressed here. Your problem might be different, but that answer outlines the general way on how to solve this kind of problems.
If your error is different, post it here (all red text you see in the console), together with the complete code of the TemperaturePanel class.
-
When I run it there are no problems in the console and also I can see the temperature. Only that red box in design area. – Zeynep Sahin May 7 at 7:52