GeeCON Prague 2014*
The moose likes Java in General and the fly likes problem with refactored program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "problem with refactored program" Watch "problem with refactored program" New topic
Author

problem with refactored program

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

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


SCJP
Visit my download page
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

i found the problem. i forgot to start the thread.
 
GeeCON Prague 2014
 
subject: problem with refactored program