hi,
i got a small exception trouble for the nerds.
i have a JEditor pane that shows HTML content, on clicking a button.
this is the code.
**an small overview of the functionlaity is below the code.**
----------------------
-----------------------
my editorpane is basically doing a powerpoint presentation(saved in html format). i save the slide/htmlfile sequence on a linked list and then pop-up each of them in sequence upon mouse-clicks on the button "next". and i am also recording the mouse clickes simultaneously as you can see i am using the 'date' class.
this code runs great.
Now to the trouble-point.
now if i open another small file and try to search for some small string in it..and based on whether the required string is present or not(just a simple if condition), if i try to record the mouse clicks..it throws some exception and the dialog-box pops up..saying "Invalid URL".
here is its code..
------------------
---
I got no clue why that happens..
any early light on this is greatly welcome.
thanks,
Vishu
ps:
pl use the [ code ] [ / code ] tags (without the spaces) when posting source code. thanks.
- satya
[This message has been edited by Madhav Lakkapragada (edited September 07, 2001).]