• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Illegal Argument exception

 
Robert van weers
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there
I am not a programmer but I do use some java at my website.
I have a news scoller installed and it works fine when I first visit the page. When I wonder off and then return to the page containing the scroller or right click and refresh the page nothing happens I mean the scroller doesn't work anymore. And then I get the following text in my status bar:
exception:java.lang.illegalargumentexception
This is so strange, if I go to IE properties and delete all on and off-line content and then proceed back to my scroll page it works again. It is like it will only let me see it once.
Can anybody tell me what is happening because it is driving me up the wall.
The page where it resides is:
main.htm
I also enclose the code for your persual.
<APPLET code="ScrollItUp.class"
ARCHIVE="files/ScrollItUp.jar" WIDTH="155" HEIGHT="175">
<PARAM NAME="bgcolor" VALUE="ff0000">
<PARAM NAME="outlinecolor" VALUE="ff0000">
<PARAM NAME="scrollbgcolor" VALUE="ffffcc">
<PARAM NAME="fontcolor" VALUE="000000">
<PARAM NAME="hovercolor" VALUE="0000ff">
<PARAM NAME="linkcolor" VALUE="0000ff">
<PARAM NAME="fontface" VALUE="arial">
<PARAM NAME="fontstyle" VALUE="plain">
<PARAM NAME="fontbold" VALUE="off">
<PARAM NAME="fontsize" VALUE="14">
<PARAM NAME="textfile" VALUE="files/scrolltext.txt">
<PARAM NAME="brakes" VALUE="55">
<PARAM NAME="margin" VALUE="1">
</APPLET>
Steady breezes
Robert
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went to your page and it works fine for me. I refreshed multiple times, and went off the page and came back.
It's possible that you don't have the latest Java VM and Java plugin installed, and in fact likely that you are using Microsoft's Java VM. Go to this page, and click on the "Free Download -> Get it Now" link in the top right of that page to download the latest versions.
HTH
[ October 01, 2003: Message edited by: Jason Menard ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, Robert van weers!
I'm moving this to the Applets forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic