I am creating a java GUI that will show random face of a six-sided die. I have drawn all of the dots I will need (top, mid and bottom left/right as well as a centre dot) and they all appear in my GUI but now I need to break them down into faces, for example the 1-face will only contain the centre dot. I have specified which face will use which graphics in my code as comments in my nil
method.
How would I implement this? Here is my code:
paintComponent(Graphics g)
Thanks