A question for the staff/customers of this excellent saloon. Consider a JScrollPane. When the content resizes (gets very much smaller), the JScrollPane does not resize, and that's what I want. So I think that I'm going to be clever and I make an extra JScrollPane that does just that:
It works fine...if I have only one of this custom JScrollPane-things. When I have more, I get a StackOverFlowError! The poison, I think, lies in the line getParent().validate(); or does it?