Create a custom JPanel component named CircularTimerPanel to render a circular progress ring with session/break timer at the center.
-
Tasks:
-
Create class CircularTimerPanel in com.github.akshayashokcode.devfocus.ui.timer
-
Override paintComponent(Graphics g)
-
Draw:
Background circle
Progress arc (using Arc2D.Float)
Centered time (MM:SS)
Session label (“FOCUS” / “SHORT BREAK”)
Use anti-aliasing and smooth color transitions
Create a custom JPanel component named CircularTimerPanel to render a circular progress ring with session/break timer at the center.
Tasks:
Create class CircularTimerPanel in com.github.akshayashokcode.devfocus.ui.timer
Override paintComponent(Graphics g)
Draw:
Background circle
Progress arc (using Arc2D.Float)
Centered time (MM:SS)
Session label (“FOCUS” / “SHORT BREAK”)
Use anti-aliasing and smooth color transitions