I have a
java class in which I constructed an
applet. This file is compiled & when executed displays a blank applet.
Now I have another java class in which I am contructing a JPanel. I want to add this JPanel to my applet for which I use this code:
The last line add(content); gives a compilation error. It says "cannot resolve symbol, symbol: method add()"
Can anyone please tell me whats going wrong?? And what can I do instead?