teja popuri

Greenhorn
+ Follow
since Apr 14, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by teja popuri

Hi Rob,

Thanks for your reply.

yes.I am calling it in JSP page.

It is not working in JSP page with JAVA 1.6

But it is working in JSP page with JAVA 1.4.


Any idea on this issue?
11 years ago
Hi,

I am getting HeadlessException for getScreenSize() method.Please find the below sample code for more details.

Dimension dim = null;
try{
dim = Toolkit.getDefaultToolkit().getScreenSize();
}catch(Exception e){
e.printStackTrace();
}

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 ?|
11 years ago