Thank you Mensa for your reply.
I was able to solve the issue that I faced after a long.. search and learning from Google.
The root cause of the issue is,
Starting with JavaTM SE 5.0, AWT has been re-implemented on the Solaris and Linux platforms. The new Toolkit implementation provides the following advantages: ##Removes the dependency on Motif and Xt libraries.
##Interoperates better with other GUI Toolkits.
##Provides better performance and quality.
Use the below export option and it works fine.
ksh/bash:
export AWT_TOOLKIT=XToolkit
export AWT_TOOLKIT=MToolkit
REF :
http://docs.oracle.com/javase/7/docs.../1.5/xawt.html