Hi,
I'm having problems with week 12 exercise 49 on course Java OOP Part 2.
*Explain your problem here in English or Finnish*
I'm almost finished with this assignment. However, there are 2 errors I'm stuck on. Could anyone tell me what these errors mean and how do to resolve them?
FAIL: wormgame.WormGameTest isDrawingBoard
UnsupportedOperationException: Not supported yet, in call paintComponent(<error in .toString() of arg>). error caused by code:WormGame mp = new WormGame(20,10);
mp.actionPerformed(null)
mp.actionPerformed(null)
mp.actionPerformed(null)
DrawingBoard pa = new DrawingBoard(mp, 10);
pa.paintComonent(g);
FAIL: wormgame.WormGameTest drawingBoardNoticesTheSideLength
UnsupportedOperationException: Not supported yet, in call paintComponent(<error in .toString() of arg>). error caused by code:WormGame mp = new WormGame(20,10);
DrawingBoard pa = new DrawingBoard(mp, 20);
pa.paintComonent(g);
Best regards
Supported languages are English and Finnish
Please use our build in TMC Pastebin when asking questions related to your code:
TMC Plugin has built-in code sharing feature.
In NetBeans, select TMC -> Send code to TMC pastebin. Copy the link you receive and paste it to your message.
You may use our web interface to share code snippets: http://paste.mooc.fi