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++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -