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

Information about this web site => Question related to Physics or physics related simulation => Topic started by: ahmedelshfie on January 28, 2010, 06:36:46 pm



Title: Ask about control button
Post by: ahmedelshfie on January 28, 2010, 06:36:46 pm
Hello prof i do like you say for me and garphic get right
But i had a problem in project i find space btween garphic
And control buttons sp plz if you can help me in it
How i get out this space i send attach file for project
Respect Wating answer plz
Thank you so much about help
Ahmed


Title: Re: Ask about control button
Post by: Fu-Kwun Hwang on January 28, 2010, 09:04:10 pm
You only have 6 elements under panel.
Why you set the Grid layout to 5*5 (which will need 25 elements).
That is why the EJS reserve space for other elements to join.
If you just need two column set it to 0*2 (0 rows, 2 columns: 0 means ejs will count the row number from number of elements )
Change the Grid Layout property(for top panel) to 0*2 will solve your problem.