This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

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

Ben Peer
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 3742
  • Mark post as helpful
  • send pies
  • Report post to moderator
Probably best to continue this conversation in this thread to save someone having to repeat everything Fred said there.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!