?
Solved

Data in Ticker class

Posted on 2002-07-02
8
Medium Priority
?
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 9

Accepted Solution

by:
Venci75 earned 800 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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: 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.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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