Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

How to disable selection in a JTextField?  RSS feed

 
Can Zheng
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi ranchers,

I am doing the URLyBird assignment and I wanna use a JTextfield for the customer ID input. For some user experience related reason I wanna prevent the user from selecting text in this JTextField control. But how can I achieve this?
[ August 16, 2006: Message edited by: Can Zheng ]
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Report post to moderator
We have a Swing forum for general GUI progamming questions. So I am moving the question there. If anyone wishes to help please respond in the new location.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry, I did not check to see if the original poster had already posted here.
Please close this.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!