> How to access one jpanel and draw circle from another jpanel?

How to access one jpanel and draw circle from another jpanel?

Posted at: 2014-12-18 
So i a have made three classes the guitar class is extending jframe and the other two class mypanel and ipanel are extending jpanel ,so ipanel have a button ,i want to draw a circle mypanel when the button is clicked from ipanel, i have tried many things but when ever button is clicked circle is made on ipanel itself how to make it on mypanel