added setPreferredSize to EDTSafeFrame.setSize