Difference between setvisible and setenable

CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Mr. Samar Saxena 5 years, 9 months ago
- 1 answers
Related Questions
Posted by Simran Batra 1 year, 4 months ago
- 0 answers
Posted by Prapti Dubey 1 year, 5 months ago
- 0 answers
Posted by Siya Vishwakarma 1 year, 6 months ago
- 1 answers
Posted by Martina Sangchoju 1 year, 8 months ago
- 2 answers
Posted by Akib Chowdhury 1 year, 5 months ago
- 1 answers
Posted by Arifa Meharun 1 year, 3 months ago
- 0 answers
Posted by Yashika Kakkar 1 year, 5 months ago
- 1 answers
Posted by Parth Chaudhary 1 year, 8 months ago
- 2 answers

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide
Yogita Ingle 5 years, 9 months ago
The setVisible() method in Java makes the GUI component visible to the user depending on the Boolean parameter you pass in the function. For instance, if it is set as false then it will hide that component else if true ,it will be shown to the user.
The setEditable() method has one Boolean parameter. If you set the parameter to false, then the user cannot edit that field so it’s basically used to prevent the user from entering the wrong value. While if set to true then the user can edit that particular field. For instance, if I have a text field theText and I want to set its property setEditable() to false so that user cannot change it ,so setText.setEditable(false).
0Thank You