I have a subclassed JPanel that acts as a view for some information.
When the information changes, the min/max/preferred size of the JPanel may change as well.
How do I handle this event properly so that it plays nicely with a LayoutManager?
I tried overriding getPreferredSize() but it only seems to be called once.
Try revalidate your component after min/max/preferred size has been changed. Should work.