Using ImageIcons in java applets
I'm new to this site because I'm having a problem changing one of my java swing applications to an applet so that I can put it on my website. The application is a little poker game I made, and it works great (even as an applet) except for when I run it using a web browser. No matter what I do, it seems that I cannot load the images into my program running it from internet explorer. The images are .jpgs and are in a folder one up from the .class location; I am loading the images using the ImageIcon class, and setting the icons onto buttons. The weird thing is that it all works when I run the applet in my compiler, so I don't know what's wrong. ANY help will be greatly appreciated! Thank you very much!