This is a Java Swing control set.
it is basically a circle, that is divided up into Equi-distant sections, a bit like a pie chart, but each of the wedges ends before becoming a point.
This must be a self-contained class, possibly extending radio or button and allowing suitable listeners, and accessors, as such you will need to override the paint methods.?
The class is expected to be well behaved, following good design practices keeping paint /redraw to a minimum.
## Deliverables
The basic design.
[login to view URL] section can be pre-set to a different colour
[login to view URL] Section is selectable/Clickable under mouse control, similar to a radio button.
I.E
one click in a segment selects that segment, a second click un-selects the segment.
3. The control is scalable, that is to say if the circle is large, the segments auto scale correctly
4. there is a reference number in each segment, (max 1-24)
5. An inner segment in the centre acts as a selectable area
6. The control can be divided up into two distinct areas (max 1-12 each side) and with ? the centre area , also being divided up.
This must be a self-contained class, possibly extending radio or button and allowing suitable listeners, and accessors, as such you will need to override the paint methods.?
The class is expected to be well behaved, following good design practices keeping paint /redraw to a minimum.
pls see enclosed file (1 class must have functionality to handle both cases)