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 Java in General and the fly likes problem with refactored program 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 » Java in General
Reply 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: 4092
    
    1
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
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4092
    
    1
i found the problem. i forgot to start the thread.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: problem with refactored program
 
Similar Threads
critique my applet?
Extracting Pixel Data From Fonts
painting from user defined class
interfaces
Help with displaying data in JTextfield