Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

drawing line  RSS feed

 
shalini gnana
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to draw graph in applet.I use graphics method for it and plotted points..Is there any method for joining all those co-ordinates i.e., drawing line ohter than drawstring method?
 
Rob Spoor
Sheriff
Posts: 21087
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.awt.Graphics has many methods for drawing, including drawLine.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!