Jpanel.getHeight() is returning zero

Printable View