I am making a gui in which i want to make a feature accessible only if device is offline so how could i make a jbutton that is only enabled when offline.
I want the jbutton to be displayed but not clickable.
I am making a gui in which i want to make a feature accessible only if device is offline so how could i make a jbutton that is only enabled when offline.
I want the jbutton to be displayed but not clickable.