(Simulate a stock ticker) Write a Java applet that displays a stock-index ticker (see Figure 18.23). The stock-index information is passed from the tag in the HTML file. Each index has four parameters: Index Name (e.g., S&P500), Current Time (e.g., 15:54), the index from the previous day (e.g., 919.01), and Change (e.g., 4.54). Use at least five indexes, such as Dow Jones, S&P 500, NASDAQ, NIKKEI, and Gold & Silver Index. Display positive changes in green and negative changes in red. The indexes move from right to left in the applet’s viewing area. The applet freezes the ticker when the mouse button is pressed; it moves again when the mouse button is released.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.