implement in java GUI ****** – Write a class and test class forClockIcon that implements the Icon interface type. Draw an analogclock whose hour, minute, and second hands show the current time.To get the current hours and minutes, construct an object of typeGregorianCalendar with the default constructor. (Clock hands forthe hour, minute, and second are required to be drawn and move torepresent a current time. You don’t have to draw clocknumbers.)
Expert Answer
An answer will be send to you shortly. . . . .