This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield 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)