رد: ممكن حل سؤال الجافا gui
نص السؤال الاصلي بالانجلش
write java applet that define a class called " getmousecoordinate" the " getmousecoordinate" extends Jframe. the Jframe includes a jpaned(e "mousepanel") the background of the"Mouse Panel" is to be changed to blue .. then add ento the center of the jFrme using the " borderLayout" Manager A must apper in the JPanel the menw costains three option(Circle, Rectangle,Polyegon) when you choose a Circle, for example and then you click the mouse in(x,y) coordiantes , your application draws a circle where the center of the circle is (x,y). if you chose" Retangle". then your application draws Retangle where the left-top corner is (x,y) coordinate.
|