Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

problem with refactored program

 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the other day i finished refactoring an old java1 applet. i spent about a half hour fixing the cimpiler errors and a couple runtime problems but there is still one problem remaining and i cant seem to figure out what i did wrong. the new version has 4 classes. the problem must be in Farm.java or TextScroller.java since the DisplayArea works just fine. it displays the various images and plays the associated audio clips when clicked. the problem is the text scroller no longer appears. i appologize for posting so much code but i have no idea where exactly the problem is. if you can see the problem or have suggestions on how i can track it down i will be grateful.

ps. sorry about the bad copy and paste. i guess i should start using notepad instead of wordpad.





the original code that works in spite of its terrible design

 
Randall Twede
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i found the problem. i forgot to start the thread.
 
reply
    Bookmark Topic Watch Topic
  • New Topic