Hello, I need to know how can one create a frame and display it exactly at teh centre of the current windows screen. If I try to get the dimensions by getMaximumSize() it returns a huge value for the height and width something like 32767. So I cannot get the screen simensions. How should I do this.