Dave showed me where the CDF file dialog gets bigger and bigger as he goes in and out of the GUI. Every time its entered its size when exiting is recorded, and this should not be getting bigger and bigger. I know there was some kludgy code on Windows calculating sizes, and this should all be reviewed.
You can see this on Linux, too.
There are automatic resize events which are happening after the size is set. I added a listener and I can see the event comes from:
So I think the sizing needs to happen after setVisible.
This fixes the problem on Linux, will change other platforms later this morning.