This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one 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: