Solved

Data in Ticker class

Posted on 2002-07-02
8
248 Views
Last Modified: 2012-06-27
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 !!
0
Comment
Question by:viswa20
8 Comments
 
LVL 9

Accepted Solution

by:
Venci75 earned 200 total points
ID: 7124791
this loads a serialized String[] from the 'http://<codebase>/TickerFeed'
0
 

Author Comment

by:viswa20
ID: 7125591
i did not understand ...Venci75 can you plz. elaborate ?
0
 

Author Comment

by:viswa20
ID: 7125609
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
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 6

Expert Comment

by:dorothy2
ID: 7125682
Listening..
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 7125997
note that if you use their applet/data without their permission, this is a pure theft.
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7126299
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 ...
0
 
LVL 35

Expert Comment

by:girionis
ID: 8893771
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
windows explorer path to command prompt 5 54
fibonacci ten numbers 4 45
add projects t working set in maven 2 23
junit as external jar or library 7 24
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question