Java's Graphics2D class provides methods to draw primitive shapes, such as lines, rectangles and ellipses. It lacks a method for drawing pixels. You can color a single pixel in a Java drawing by ...
• The triangle is specified by clicking on three points. The system responds as follows: Button click changes cursor. Shows a point after one click; after 2 clicks, shows a line between two clicked ...
It supports freehand drawing, drawing of shapes, erasing, a fill function, as well as File operations, undo/redo, printing and resizing the drawing area. This was my second GUI application as part of ...