• Post Reply Bookmark Topic Watch Topic
  • New Topic

Drawing a point  RSS feed

 
Travis Kean
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just learning Java GUIs, and the class I was given was java.awt.Graphics. Graphics, however, doesn't seem to have any function to draw a point. It has lines, circles, and so forth, but no points. I could of course make lines that end where they start or circles with small radii, but this is wasteful. Is there a function in Java to draw a point at given coordinates?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maybe this might be close enough

 
Travis Kean
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well again, this is just making a circle of size 1. I'm looking for an actual point.
[ July 03, 2005: Message edited by: Travis Kean ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!