Staredit Network > Forums > Technology & Computers > Topic: putting java applets on a website
putting java applets on a website
Nov 5 2007, 4:36 am
By: RoryFenrir  

Nov 5 2007, 4:36 am RoryFenrir Post #1



okay, im trying to put one of my applets from java onto my website, which is an html page.
My understanding was that you put the
<HTML>
<APPLET CODE = "AppletName.class" WIDTH = "128" HEIGHT = "200">
</APPLET>
</HTML>
in the code for the page and it would work.
It shows the java loading thing in the correct size but after it loads its jsut a red X



None.

Nov 5 2007, 5:21 am Twitch Post #2



Quote from RoryFenrir
okay, im trying to put one of my applets from java onto my website, which is an html page.
My understanding was that you put the
<HTML>
<APPLET CODE = "AppletName.class" WIDTH = "128" HEIGHT = "200">
</APPLET>
</HTML>
in the code for the page and it would work.
It shows the java loading thing in the correct size but after it loads its jsut a red X
That would mean you have your javascript thing on your browser turned off.Its stupid but,yes browsers do this check and make sure its on.



None.

Nov 5 2007, 5:25 am who Post #3



Its JAVA, not JAVASCRIPT. :D
If you use Firefox, you can click Tools and go to Java Console. It may display some errors with the applet, such as not finding the file. You may also need a CODEBASE attribute.



None.

Nov 5 2007, 5:46 am cheeze Post #4



Show AppletName.java please.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:52 pm]
lil-Inferno -- UndeadStar
UndeadStar shouted: https://www.youtube.com/watch?v=rbChzMFX0mE <= I wonder if that will attract new players to SC1&2 ?
:doubt:
[03:18 pm]
UndeadStar -- Spoiler: there are no medics in that video
[03:18 pm]
UndeadStar -- this made me remember a line in the Broodwar manual static about medics "lengthening the expected battlefield life expectancy to over nine seconds"
[06:50 am]
UndeadStar -- https://www.youtube.com/watch?v=rbChzMFX0mE <= I wonder if that will attract new players to SC1&2 ?
[2026-10-28. : 2:28 am]
Symmetry -- ball cleavage
[2026-10-28. : 12:38 am]
Wing Zero -- Ya cleavage
[2026-10-28. : 12:02 am]
NudeRaider -- and you can guess what the small thing in the middle is :awesome:
[2026-10-28. : 12:01 am]
NudeRaider -- Fartys balls
[2026-10-27. : 11:28 pm]
Ultraviolet -- ( :farty: Y :farty: )
[2026-10-27. : 1:57 am]
Symmetry -- :farty: Y
Please log in to shout.


Members Online: ihjel, Symmetry