using paintComponent(Graphics g) Write a program in java that, for four points A, B, C and P, • draws a triangle formed by ABC and a small cross showing the position of P; • displays a line of text...


using paintComponent(Graphics g) Write a program in java that, for four points A, B, C and P, • draws a triangle formed by ABC and a small cross showing the position of P; • displays a line of text indicating which of the following three cases applies: P lies (a) inside ABC, (b) outside ABC, or (c) on an edge of ABC. The user will specify the four points by clicking. please don't copy from chegg, correct answer gets up voted thanks.



Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here