hello,
if I am not wrong , the size of the "Main" window during simulation by default is about 400*600. We can
enlargen it by click the button in the uppper right corner. If I want the "Main" appears at a certain size at
the start of the simulaiton, How can I do this?
Thanks,
Run
Pavel — 16.04.08
Select ‘Simulation’ object in Project view. There is the ‘Presentation’ that contains ‘frame’ element. You
can set your own size of this ‘frame’ and the window will get the same size correspondingly. The second way is to
type the following code in advanced properties of the Simulation in the ‘Initial Experiment Setup’ field:
getPresentation().setPanelSize(int width,int height);
run — 20.04.08
thanks , Pavel.
I think only the send way works. I can not find the 'frame' element within the 'presentation', at least no in the
advanced 6.2.
appreciate your help.
run
Pavel — 21.04.08
Please complete the following steps to set size of the 'frame' element:
1. Click on the arrow near the 'Simulation' in the Project view. You will see the 'Presentation' object.
2. Click on the arrow near the 'Presentation' in the Project view.
3. Select 'frame' and in the general properties set its size.
run — 21.04.08
Thanks Pavel.
I got it.
run