This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I have a JFrame which has been extended I create an instance of a (non-graphical) class - passing a copy of the JFrame reference what I want to do is override the paint method for the JFrame object from within the other class Is there a way to do this? Thanks, Tom
posted 14 years ago
Hi Thomas, No, but you could call any method you want from the overridden paint method inside the JFrame. For example: