Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Data in Ticker class

Posted on 2002-07-02
8
Medium Priority
?
269 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
7 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

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.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses
Course of the Month20 days, 18 hours left to enroll

810 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