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.
JPanel panel1 = new JPanel();
add( panel1 );