getHeight() giving two different valpues for the same JPanel

Printable View