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

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

objective c - Mouse events for an NSSegmentedCell subclass? -