This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Please could anyone consider following situation: I have an instance (thumbnail)of class Thumbnail (that extends a JPanel.)en It sits in a box. When some event occurs, thumbnail must redraw itself AND CHANGE IT SIZE. Alas, the redrawing takes place, but not the resizing. Even if I can overload setMaximumSize() or setPreferredSize(). I must have missed something? Here is the code (sorry if it to much)