This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java scrolling array string problems just need to get it done not trying to learn Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Java scrolling array string problems just need to get it done not trying to learn

Ben Peer
Greenhorn

Joined: Apr 21, 2010
Posts: 15
Im so close I can feel it, I am having a problem with my array.

also have some questions

can an array be filled with string data?
how would you make 5 lines of string data go down then right? and loop?
why would my teacher want us to use arrays?

Use arrays to create an applet that lists five of your favorite songs. The applet should:
• scroll the list of song titles, one at a time
• each song title should start at the top of the applet and scroll to the middle then, scroll off the right hand side
• each new song title should scroll in a different colour
• the applet should loop, that is, when it gets to the end of the list, start over again at the beginning of the list

Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3011
    
    9
Probably best to continue this conversation in this thread to save someone having to repeat everything Fred said there.


Joanne
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Java scrolling array string problems just need to get it done not trying to learn
 
Similar Threads
Java Simulation
Applet problem... need help!
How to make a java applet repeat infinitently?
how to add button to this?
Scrolling String - Change of Speed