Ask Question
22 October, 10:14

The title of a JFrame can be set by using which statement in the constructor of your class that extends JFrame?

super ("Title here");

setFrameTitle ("Title here");

setTitleFrame ("Title here");

JFrame. super ("Title here");

+4
Answers (1)
  1. 22 October, 10:28
    0
    super ("Title here");

    Explanation:

    JFrame is a Java swing class for displaying Frames in Graphical User Interface. The title of a JFrame can be set by calling super ("Title here"); as the first statement in the constructor of your class that extends JFrame. This causes the constructor of the parent JFrame class to be called with the specified String argument and this String is then set as the title for the GUI frame.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The title of a JFrame can be set by using which statement in the constructor of your class that extends JFrame? super ("Title here"); ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers