posted 11 years ago
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?