I tried everything. I ask this question on Yahoo! Answers and I got basically what I saw everywhere else:
http://answers.yahoo.com/question/i...pnNOlGXsy6IX;_ylv=3?qid=20110807164512AAM4c68
in quotes:
answer:
I got his Year.java file to work but not the HelloApplet.java and HelloWord.html
It says The page Hello-World Applet attempted to load Java content, but Java is unavailable or not installed.
On my mom's iMac the page did appear to laod correctly but all that appeared was a black box.
I'm guessing the problem is a uninstalled java something or other but I have no idea what that would be since I have a lot of other java programs that work on my computer just not this kind of thing.
I'm using 10.5 and the highest version java available for my mac is 1.4.3.
http://answers.yahoo.com/question/i...pnNOlGXsy6IX;_ylv=3?qid=20110807164512AAM4c68
in quotes:
I cannot for the life of me get images to load in an applet. I want to eventually make a game in java but I can't do that if I can't upload pics. I'm using a mac 10.5.8 and yes I only have Java 1.4.3 as Apple isn't releasing any new updates for older OSs apparently.
I asked this question before:
http://answers.yahoo.com/question/index;
that's when I figured out it was because I didn't have 1.6.
I also tried running the applet provided here:
http://www.particle.kth.se/~lindsey/Java
couldn't get that to work either. And I couldn't get a few others to work. Some of which were pretty old (they compiled after I switched out deprecated code.) wtf. Is it my java settings? what???
How was it done back in the day???
* 2 days ago
Additional Details
I also tried running ImageBlaster.java provided by Oracle on the MediaTracker page:
http://download.oracle.com/javase/1.4.2/
I don't know if matters but I use BlueJ to compile and run these programs, usually in appletviewer.
answer:
Download the files from:
http://www.mediafire.com/?24p96ocv9cjef
There is an application to show a picture. Test this first.
Then there is an applet to show a picture. Test if this works by opening the .html file.
(Place all the files into the same folder)
It works with Java 1.4. so your version should not make a difference.
Internet Explorer has many security issues with applets, so I use FireFox to test my own applets saved on the hard disk.
I got his Year.java file to work but not the HelloApplet.java and HelloWord.html
It says The page Hello-World Applet attempted to load Java content, but Java is unavailable or not installed.
On my mom's iMac the page did appear to laod correctly but all that appeared was a black box.
I'm guessing the problem is a uninstalled java something or other but I have no idea what that would be since I have a lot of other java programs that work on my computer just not this kind of thing.
I'm using 10.5 and the highest version java available for my mac is 1.4.3.