wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes How to draw a point? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to draw a point? " Watch "How to draw a point? " New topic
Author

How to draw a point?

Ilya PA
Greenhorn

Joined: Sep 05, 2001
Posts: 15
Hi. Please help! How to draw a point? I was trying to do it using the class point2D.float of the package java.awt.geom. But I just can't do it (i'm a begginner... as you can see :P), could you please show me how to use it correctly. What should I do to draw a point with coordinares of type float? Thank you!
sandeep jakkaraju
Greenhorn

Joined: Sep 05, 2001
Posts: 8

convert the floats to ints .. and then draw !
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to draw a point?