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 14, 2010, 05:25:55 pm



Title: Hi/board:29-100 (Question about EJS GUI/ modified by Fu-Kwun Hwang)
Post by: ahmedelshfie on January 14, 2010, 05:25:55 pm
HI prof but had problem before about relationship between 2D and 3D panels
I will try insert image with mark about what i mean ....
Respect
Ahmed


Title: Re: Question about EJS graphics interface
Post by: Fu-Kwun Hwang on January 14, 2010, 05:36:42 pm
Your attached file is just an image (as attached).
I do not understand what you mean (what you want to do?)
 
By the way: Please do not just use Hi as title,
add meaningful title so that other user can understand what it is about.


Title: Re: Hi/board:29-100 (Question about EJS GUI/ modified by Fu-Kwun Hwang)
Post by: Fu-Kwun Hwang on January 14, 2010, 11:44:35 pm
Quote
I mean prof that in image i mark my ask
About how in project adding after Drawing panel
Add (xaxis)(yaxis)(partical) from 3D drawables
This my ask because i try make the same after
I add drawing panel so no accept and print  this massage
(This element can not be added to this parent)
Respect
Ahmed

You can use "PlottingPanel" instead if you want to draw xaxis and yaxis in DrawingPanel.

In EJS:
"2D drawables" can be added into either "DrawingPanel" or "PlottingPanel".
However, "3D drawables" can only be added into "DrawingPanel3D" only.
You can not add arrow in "3D drawables" to "DrawingPanel" or "PlottingPanel".
You need to drag it from "2D drawable".