Meaningless Drivel is fun!*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 3429
    
  12
Probably best to continue this conversation in this thread to save someone having to repeat everything Fred said there.


Joanne
 
Don't get me started about those stupid light bulbs.
 
subject: Java scrolling array string problems just need to get it done not trying to learn
 
Similar Threads
Applet problem... need help!
Java Simulation
how to add button to this?
How to make a java applet repeat infinitently?
Scrolling String - Change of Speed