Would I use a Jpanel to display a square that I add the the panel.
I want to display 3 panels and inside those panels i want to display a shape of a square, circle or rectangle.
Would I use a jpanel to hold those shapes?
How do I get this code to display my panel? It does not show up on my window.
Code:JPanel panel1 = new JPanel();
panel1.setSize(200, 200);
panel1.setVisible(true);
add( panel1 );
