I am getting HeadlessException for getScreenSize() method.Please find the below sample code for more details.
The getScreenSize() method is not working in Java 1.6.But it is working in 1.4.
Recently we have upgraded the java to 1.6.
Can you please help me on this issue ?|