News

Type the following lines of code at the top of the new class to import the required classes:import java.awt.Component; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D ...