Which method is used to set the visibility of a component in Java GUI?1 pointsetVisible()add()remove()setEnabled()
Question
Which method is used to set the visibility of a component in Java GUI?1 pointsetVisible()add()remove()setEnabled()
Solution
The method used to set the visibility of a component in Java GUI is setVisible().
Similar Questions
Which method is used to create an additional component to a container in Java GUI?1 pointsetVisible()add()setEnabled()remove()
How can components be added to a container in Swing?*1 pointUsing setVisible() methodUsing set() methodUsing add() methodUsing setLayout() method
Which of the following is not a top-level container in Java GUI?*1 pointJPanelJAppletJFrame
Which class is used to display text in Java GUI?1 pointJPanelJButtonJLabelJFrame
Which class is used to create a window in Java GUI?1 pointJPanelJLabelJButtonJFrame
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.