Java - How can I create a JTextfield that can be queried but not updated? -
How do I create a JTextfield
which can be questioned but not updated?
setEditable (false);
This will be made using the above method so that users can not edit the text, but it can still be copied or you can get value with getText () Can pull up
.
Comments
Post a Comment