reset password
Author Message
Mrxethan
Posts: 17
Posted 21:43 Feb 18, 2019 |

-In the main class to ask the user for the level and amount of colors, what if there isn't enough colors for the levels? For example, level 3 has 4 rectangles but if the user chooses 1 color, would it be okay? I also read that each area has its own color, so I'm confused. Also, what if there are too many colors?

-Can I use JOptionPane for the user input?

 

kknaur
Posts: 540
Posted 11:13 Feb 19, 2019 |

Choosing the color was a typo.  Originally the user could choose, but now the colors are determined by the area of the shape (see the section on choosing colors). 

If you are going for the GUI input option JOptionPane will not count.  You need to make your own GUI from scratch.

Mrxethan
Posts: 17
Posted 19:03 Feb 19, 2019 |

Thank you