The answer of the question is as-
Any time you don't write any constructor for your class, the compiler supplies the default constructor.
Here is the answer,
The setEditable() method allows you to change the current editable state of the TextComponent to state. true means the component is editable; false means read-only.