JFrame
public JFrame()
throws HeadlessException
then why dont we use try/catch blocks while creating a new jframe...?
Printable View
JFrame
public JFrame()
throws HeadlessException
then why dont we use try/catch blocks while creating a new jframe...?
Cross posted at Exception-JFrame
I found these statements in the api docs for jframe class...it says that the public constructor for a jframe class throws an exception...then my question is that why dont we use try/catch blocks...?