Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Applet get mouse clicks and draw circle

Tue Jan 26, 2010 5:22 pm

I am a beginner in Java programming language, working in Eclipse IDE, and interested me how to write code for this applet:
Write the applet code, which after every second you click the mouse draws a new circle whose center is the site of the first click and passing through the point at which it occurs second click. All circuits should be left to see not only the last. After drawing the largest circle color blue, and red the least. In the bottom of the image to print the total number of laps.
Thanks



Re: Need HELP- I am a beginner in Java

Wed Jan 27, 2010 11:18 am

You should try to do it and any code support you should ask , here internal links to applets code :
java/first-applet-t20.html
finished-projects/browser-celsius-to-fahrenheit-converstion-applet-t672.html

Post a reply
  Related Posts  to : Applet get mouse clicks and draw circle
 draw any number of lines on mouse clicks     -  
 draw any number of circles using mouse clicks     -  
 Draw Cardinal Spline With Mouse Clicks Points     -  
 Draw curves using Hermite Curve equations with mouse clicks     -  
 get time difference between to mouse-clicks-double clicks     -  
 Drawing circle using circle equation directly , on mouse     -  
 i want to draw a circle on a image(any format bmp,jpeg etc.)     -  
 Draw Circles using Mid-Point Algorithm Equations- On Mouse     -  
 Draw Circles using using Polar form equations-On mouse Click     -  
 Draw Bezier Curve and selecting the points with mouse click     -