System.out.println( frameSize ) ;
log.debug( frameSize + "") ;
    public void execute() throws NamingException    {        MainFrame frame = new MainFrame( partition, eng ) ;        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize() ;        Dimension frameSize = frame.getSize() ;        frameSize.height = ( ( frameSize.height > screenSize.height )            ? screenSize.height : frameSize.height) ;        frameSize.width = ( ( frameSize.width > screenSize.width )            ? screenSize.width : frameSize.width ) ;        frame.setLocation( ( screenSize.width - frameSize.width ) / 2,            ( screenSize.height - frameSize.height ) / 2) ;        frame.setVisible( true );        System.out.println( frameSize ) ;    }