I should like my frame/dialog to resize automatically, in response to changes in frame/dialog.getContentPane().getPreferredSize().
Therefore, where might I put the frame/dialog.pack() call, so that it is called appropriately?
I have tried overriding contentPane.validate(), and putting the call in there, but I'm not too confident about this. What validate() and invalidate() actually do is not crystal clear to me.
Any help greatly appreciated.
Regards,
Rob -- http://www.lafros.com
_______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing