viswa20
asked on
Data in Ticker class
Go to http://www.nseindia.com
On the Right-Top corner you will find 2 lines (similar to Marquee in HTML). If you move your mouse over it it will stop. If you drag it to the right side it will start scrolling right & if you drag it to your left it will start scrolling to your left.
I checked the source code and found that an applet has been used to do this. I was told that the values are read from a text file(formed from database)....
How can i generate this Ticker class with my data !!
On the Right-Top corner you will find 2 lines (similar to Marquee in HTML). If you move your mouse over it it will stop. If you drag it to the right side it will start scrolling right & if you drag it to your left it will start scrolling to your left.
I checked the source code and found that an applet has been used to do this. I was told that the values are read from a text file(formed from database)....
How can i generate this Ticker class with my data !!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What is the location where i have to put my datafile ? Is it a *.txt file ? How should the data be in the *.txt file
Listening..
note that if you use their applet/data without their permission, this is a pure theft.
not a text file - it is a file, containig a serialized String[]. You can create it by using:
String[] data; // initialize this array.
FileOutputStream fos = new FileOutputStream("filename ");
ObjectOutputStream oos = new ObjectOutputStream(fos);
oos.writeObject(data);
then this file must be accessible through:
'http://<applet host>/TickerFeed'
url.
... but I agree with heyhey - you must use this applet only with their permition ...
String[] data; // initialize this array.
FileOutputStream fos = new FileOutputStream("filename
ObjectOutputStream oos = new ObjectOutputStream(fos);
oos.writeObject(data);
then this file must be accessible through:
'http://<applet host>/TickerFeed'
url.
... but I agree with heyhey - you must use this applet only with their permition ...
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- points to Venci75
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- points to Venci75
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer
ASKER