Issue
I heard that when we use awt or swing, while creating a FRAME, an unchecked exception may be thrown which is "Headless exception". I never got this exception. Can anyone tell when this exception is thrown?
Solution
Class HeadlessException description
Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.
For more details http://docs.oracle.com/javase/7/docs/api/java/awt/HeadlessException.html
Answered By - user1920804
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.