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 4 years, 9 months ago
- 1 answers
Related Questions
Posted by Arifa Meharun 4 months ago
- 0 answers
Posted by Akib Chowdhury 5 months, 4 weeks ago
- 1 answers
Posted by Yashika Kakkar 6 months, 2 weeks ago
- 1 answers
Posted by Parth Chaudhary 9 months, 1 week ago
- 2 answers
Posted by Siya Vishwakarma 7 months, 2 weeks ago
- 1 answers
Posted by Martina Sangchoju 9 months, 3 weeks ago
- 2 answers
Posted by Prapti Dubey 6 months ago
- 0 answers
Posted by Simran Batra 5 months ago
- 0 answers
Posted by Honey Hanisha 9 months, 3 weeks ago
- 0 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
Yogita Ingle 4 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