This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to draw a point? " Watch "How to draw a point? " New topic

How to draw a point?

Ilya PA

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

Joined: Sep 05, 2001
Posts: 8

convert the floats to ints .. and then draw !
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: How to draw a point?