Ask Question

What component can be used for user input or display of output?

JButton

JLabel

JTextField

JFrame

+4
Answers (1)
  1. 19 June, 16:15
    0
    JTextField

    Explanation:

    JTextField is a Swing control which can be used for user input or display of output. It corresponds to a textfield and can be included with other controls such as JLabel, JButton, JList etc. on a comprehensive user interface which is application dependent. JTextField supports a read-write mode where the user can enter a value and it also supports a read-only mode which can be used to display non-editable output to the user.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What component can be used for user input or display of output? JButton JLabel JTextField JFrame ...” 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