You can insert an image into a Mathematica notebook like shown in the picture, but you can’t do that in eclipse.
The code you linked to is not JSP code. It is Wolfram Language code.
To use an image in your code, you generally first have to import it. In the Wolfram language that’s just using the Import function:
Thanks Sean, your comment was really useful. I found out there is another way to use an image in the code. You just have to do a click-holding on an image and put it directly in your code.
Hello Sir , I am Kashif, and saw your conversation that was helpfull, but i am facing the similar problem that how to insert an image in different coded grid like in my attached file. i am trying your suggested way but remained unsuccessful, Can you please help me to sort out this problem.