I’am using NetBeans and its WindowDesigner.
Having set focus to an JTextField I did two things in the Properties window:
- First I set the TextField’s disabledTextColor field to a red ( [0, 0, 51] ),
- Second I set the TextField’s enabled field to false.
Viewing the preview, nothing. Still plain gray.
Why is that and how can I change it?
you must have another issue, these basic Swing methods works for me