NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Questions related to EJS => Topic started by: DaZyS on May 03, 2011, 11:07:15 pm



Title: Different graphs
Post by: DaZyS on May 03, 2011, 11:07:15 pm
Hi community,
I have a problem with my simulation interface. When I run the simulation in EJS I see:
(http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=2190.0;attach=4150;image)
-*-

But when I compile I see:
-*-(http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=2190.0;attach=4152;image)
How I can get the first interface compiling the simulation?

Thanks.


Title: Re: Different graphs
Post by: Fu-Kwun Hwang on May 04, 2011, 12:37:13 am
Could you point out the difference between the above two pictures?

Do you mean the small difference in back-ground color?


Title: Re: Different graphs
Post by: DaZyS on May 04, 2011, 12:45:19 am
I refer to the difference of the bar of options, buttons and color.

Thanks


Title: Re: Different graphs
Post by: Fu-Kwun Hwang on May 04, 2011, 02:17:10 am
I do not understand what do you mean. You need to provide more information.


Title: Re: Different graphs
Post by: lookang on May 06, 2011, 07:53:06 am
it would help us understand your question if your source code is shared :)

i probably have to test some of the options in the boxes


Title: Re: Different graphs
Post by: DaZyS on May 09, 2011, 03:24:45 pm
Hello again,

I will explain better what my problem is. In the original post you can see 2 images. As you can see, the menu format in each image is different. When i execute the simulation in EJS the menu style appears like in the first snapshot but when i run the simulation as an aplication the menu style appears like in the second snapshot. I would like to be able to run the simulation as an aplication and keep the menu style of the first snapshot.

Thanks in advance for your help and time.


Title: Re: Different graphs
Post by: Fu-Kwun Hwang on May 09, 2011, 03:53:11 pm
The difference between those two pictures are very small,
You can specify the height of those EJS GUI elements to make it's height fixed.
It will be easier to find out solution for you if you can upload your ejs source file.


Title: Re: Different graphs
Post by: ahmedelshfie on May 09, 2011, 04:57:31 pm
Hi DaZyS,
I believe if you upload your ejs source code will be more helpful, it seems images noit help  too much.