PDA

For continued disscussion on this topic : Bad Marquee, Bad



camtech
05-06-2001, 10:14 PM
UM, I'm kinda stuck.

This is my code:


<applet name="News Marquee" code="Marquee.class" codebase="http://www.triview.com/java/marquee2" width=100 height=700>
<PARAM NAME=messagefile VALUE="marquee.txt">
<PARAM NAME=Width VALUE = "100">
<PARAM NAME=Height VALUE = "700">
<PARAM NAME=delay VALUE="10;10;10;10">
<PARAM NAME=Font_type VALUE="Helvetica;Helvetica;Helvetica;Helvetica">
<PARAM NAME=Font_size VALUE="12;12;12;12">
<PARAM NAME=Textcolor VALUE="0 0 0;0 0 0 ;0 0 0 ;0 0 0">
<PARAM NAME=animation VALUE="3;3;3;3">
<PARAM NAME=Wincolor VALUE = "255 255 255">
</applet>

And it doesn't work! All it gives me is the dreaded 'grey spot' and I don't know what's wrong with it!

I could e-amil the .class file and marquee.txt file in a .zip attached to an e-amil to whoever wants it!

C ya

gzazJim
05-07-2001, 03:47 PM
Hey Big AC,

Have you tried changing your "name" parameter to "marquee" as opposed to "News Marquee"? I don't believe a space in an applet name will work correctly (I could be wrong however...). I had a look on the URL you posted in the CODEBASE= line, and they simply use a name of "marquee".

Regards,

Jim

[Edited by gzazJim on 05-07-2001 at 08:51 AM]

camtech
05-07-2001, 05:42 PM
It doesn't matter if their is a space, and I've found the problem.

THe width and height parameters aren't actually supported by the Class (even though it should... )

Well, c ya

gzazJim
05-07-2001, 06:47 PM
Hey BigAC,

Cool - glad you fond the problem!

Regards,

Jim