Create a java application that draws a triangle the user


1. Create a Java application that draws a triangle. The user specifies the position and size of the triangle by positioning and clicking the mouse three times, once for each vertex of the triangle.

2. Using the interface MouseMotionListener, write an application in which a red dot follows the cursor as the mouse moves. You will need the method addMoouseMotionListener.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Create a java application that draws a triangle the user
Reference No:- TGS0615544

Expected delivery within 24 Hours