• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet  RSS feed

 
Jay Kamdar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am creating an applet that draws ellipses and the x and y change before i draw the new ellipse but all the ellipses are crunched together because x increments by 1 and y does expontional so it usually steps in 20 or more at one time. how will i make the applet able to focus on the region with ellipses like zooming in.
 
Norm Radder
Rancher
Posts: 1772
26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to compute the x,y and width & heights needed for the effect you want.
What's your algorithm for doing that?
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Applets forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!