I think If you see the API documentation for Parent class JComponent you will get the methods easily.
If you will apply these methods on your JPanel Object they will give you co-ordinate values.
example::
JPanel jp1 = new JPanel();
int xCordinate = jp1.getX();
int yCordinate = jp1.getY();