A simple java program which creates an equilateral triangle on the JPanel as you click and drag. The triangle will remain equilateral and will resize/rotate as needed to continue facing your mouse as you move the cursor around.