Java programing.......I will rate it highly. Write a complete program that will
ID: 3613042 • Letter: J
Question
Java programing.......I will rate it highly. Write a complete program that will print "tick" on standardout once per second for the first minute, then 10 times per secondfor the next minute, and then will end.Write a class TimeBar (no main needed) that is a JPanelthat displays a certain fraction of its width in its foregroundcolor and the rest in its background color. It doesn't keep trackof time -- it just has a method setFrac which is called by clientsto cause a time bar to show a different fraction. Ideally, theTimeBar must preserve its appearance even after windowdamage. Java programing.......I will rate it highly. Write a complete program that will print "tick" on standardout once per second for the first minute, then 10 times per secondfor the next minute, and then will end.
Write a class TimeBar (no main needed) that is a JPanelthat displays a certain fraction of its width in its foregroundcolor and the rest in its background color. It doesn't keep trackof time -- it just has a method setFrac which is called by clientsto cause a time bar to show a different fraction. Ideally, theTimeBar must preserve its appearance even after windowdamage.