Free Text Scrroller
I have downloaded the text scroller and the SIRtext.class. I uploaded the script in my web page http://georgiatrailriders.com and also the SIRtext.class applet. Is this all I need? I am green as far as Java. I tried to check if I have the latest java in Opera and Firefox with no results. I have installed the latest in my computor. Evidentally I do not know what I am doing. :eek:
Can you set me straight or give me a menu to walk me through this? Thank You
[463 byte] By [
reb68] at [2007-11-11 7:46:04]

# 1 Re: Free Text Scrroller
If the SIRtext.jar is located in the same directory as its html page the complete code for the start of the applet tag would be:
<applet code="SIRtext.class" codebase="." width=200 height=200 archive="SIRtext.jar">
The codebase attribute is only required if your applet is not in the same directory as its html file.
If you use IE, you can click:
Tools - Sun Java Console
and see the error messages generated by the browser. In this case it just delivers a more elaborate message saying that it can't find the class file.
Note: if the class file in the jar is compiled with a package directive the tag would be:
<applet code="packagename.SIRtext.class" codebase="." width=200 height=200 archive="SIRtext.jar">
Good luck !
sjalle at 2007-11-11 22:37:26 >

# 2 Re: Free Text Scrroller
I use either Firefox or Opera. my OS is linux kubuntu Could you look
at the source view for the page " http://georgiatrailriders.com/intro1.html" Maybe this will give you an idea as to where I went wrong.
reb68 at 2007-11-11 22:38:20 >

# 3 Re: Free Text Scrroller
This code line :
<applet code="packagename.SIRtext.class" codebase="." width=200 height=200 archive="SIRtext.jar">
Implies that the java source file for SIRtext.java (that you don't have) starts with a package directive like:
package packagename;
and I'm quite sure it doesn't. I've seen the SIRtext applet on other sites, and it doesn't use a jar file, there the applet tag started like this:
<applet code="SIRtext.class" codebase="." width=200 height=200>
sjalle at 2007-11-11 22:39:30 >

# 4 Re: Free Text Scrroller
The way this all started was inserting the file and then when I go to that site it would kill/close firefox. Something in my firefox is interfering with the java file. I think I will delete the file and start over and see if firefox still closes. Thanks
reb68 at 2007-11-11 22:40:29 >

# 5 Re: Free Text Scrroller
Just a note: Some months back I tried out an applet on different browsers, all went well except for FireFox, it seemed to me that it had some troubles with threads (parallel processing), and the SIRtext applet is definitely using thread(s).
sjalle at 2007-11-11 22:41:28 >
