Java Applet - Please help rectify error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java Applet - Please help rectify error

I want to design a drop-down list such that when I click on a option corresponding image should be displayed. My code compiles successfully and then just the drop-down works on the applet window. The image is not displayed. Please help. My code : https://code.sololearn.com/ct7p42v5Wi7y/?ref=app

23rd Mar 2019, 1:02 PM
Sreyashi Bhattacharjee
2 Answers
+ 2
Try using absolute location of your image file, explicitly file:\\\C:\Windows\... \....\panda.jpg
23rd Mar 2019, 4:09 PM
Gordon
Gordon - avatar
0
It's still not working Gordon
30th Mar 2019, 4:28 PM
Sreyashi Bhattacharjee