Try to search your question here, if you can't find : Ask Any Question Now ?

How to disable/enable a dropdown on basis of the value coming from other dropdown in java?

HomeCategory: stackoverflowHow to disable/enable a dropdown on basis of the value coming from other dropdown in java?
Avatarpushpa asked 3 months ago

Something like this :

sendButton.setEnabled(false);

But the error it is showing is :

The method setEnabled(boolean) is undefined for the type Integer. 

What I’m doing is :

if(print=="N")
{
id.setEnabled(false);
}

print is String type and id is Integer. How do I achieve it?

1 Answers
Best Answer
AvatarAmit answered 3 months ago
Your Answer

12 + 14 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com