JS: use the correct value for the height of the Control Panel
JS: use the correct value for the height of the Control Panel

Must use getSize().height so that the getSize method from OSFixJFrame is
used. If the wrong height is used, the Control Panel window cannot be
restored to its normal size after it is maximized.

Corrects an error introduced in 178b45e1825743b22fc3f38a5a91f7145f827145
(JS: use GUIListener for inputs to Simulation).

Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim