I'm trying to move a thin cylinder on the y_axis so it will connect 2 points p1 and p2; I first translate by e.g. p2.x-p1.x, etc. (which seems to yield a valid result) and then I try to rotate using the direction
Dear Friends, I have one question about closing windows produced by mainFrame. In the following codes, windows "normal frame1" and "normal frame2" produced by JFrame can be closed without stopping the whole program, but when I