How do I gray out components, and prevent users from using them?
Dear all
hii please help me for that How do I gray out components, and prevent users from using them?
thanks
Diya
Re: How do I gray out components, and prevent users from using them?
Quote:
Originally Posted by
diyaots
Dear all
hii please help me for that How do I gray out components, and prevent users from using them?
thanks
Diya
Explain "gray out components"
Re: How do I gray out components, and prevent users from using them?
Also, if you mean unable to perform any action by saying "gray out", you can use the methods inherited by java.awt.Component to enable or disable the components.
Re: How do I gray out components, and prevent users from using them?
button.setEnabled(false);