I’m trying to write a program where a circle is drawn and then disappears when clicked on…anyone know how you get rid of the circle?? Thanks a mil
<i> </i>import javax.swing.JPanel; public void actionPerformed(ActionEvent ae) { JPanel pnlCircle = (JPanel)ae.getSource(); pnlCircle.setVisible(false); }
Help @kateryan13 spread the word by sharing this article on Twitter...