Java Question 11 The title of a JFrame can be set by using which statement in th
ID: 2246632 • Letter: J
Question
Java
Question 11
The title of a JFrame can be set by using which statement in the constructor of your class that extends JFrame?
Question 12
Which type of exception occurs when creating a FileReader object for a nonexistent file?
Question 13
What layout manager should you use so that every component occupies the same size in the container?
Question 14
The interface _____ should be implemented to listen for a button action event.
Question 15
The datatype returned by the JOptionPane.showInputDialog method is
super(“Title here”);Explanation / Answer
11) a)
we can kept the title teo ways...either using super("title") or by normal way like Jframe=new Jframe("title");
12) file not found exception occurs
13) (a) all the layouts gives the components same size but the way in which they appear is different
14) c)
window listner is for window related events.focus listners related to keyboard and mouse.container listner activates when component added to container.only action listner related to the actions...button pressing is an action
15) a)
there are four methods those are optiondialogue,showinputdialogue,show message dialouge,show option dialouge and all returns strings.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.