This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 4340
    
    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: 4340
    
    2

i found the problem. i forgot to start the thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with refactored program
 
Similar Threads
painting from user defined class
Extracting Pixel Data From Fonts
Help with displaying data in JTextfield
critique my applet?
interfaces