Which of these options is incorrect? JFrame represents a framed window and JPane
ID: 3840098 • Letter: W
Question
Which of these options is incorrect?
JFrame represents a framed window and JPanel represents some area in which controls (e.g., buttons, checkboxes, and textfields) and visuals (e.g., figures, pictures, and even text) can appear.
JFrame is an indirect subclass of class java.awt.Window.
JPanel is a container while JFrame is not.
All of these above.
a.JFrame represents a framed window and JPanel represents some area in which controls (e.g., buttons, checkboxes, and textfields) and visuals (e.g., figures, pictures, and even text) can appear.
b.JFrame is an indirect subclass of class java.awt.Window.
c.JPanel is a container while JFrame is not.
d.All of these above.
Explanation / Answer
c.JPanel is a container while JFrame is not.
JFrame is also a heavy weight container used in the top level window.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.