JPanel size
I have to create a graphics pane which draws a dot on every spot the user clicks the mouse. I have successfully created this but I cannot change the size of the panel. Everything else works. I can set the background color and paint the dots but the panel is so tiny the dots barely fit inside it. I've tried setSize(int, int) and Dimension but they still do not work. Any ideas? Thanks, in advance.

