Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hit ente key problem

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I want to hit enter key in JTextPane and want to wait until response did not come and when response has come cursor will display.
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I do not understand what response is waited on. But the Caret can be made invisible by JTextPane.getCaret().setVisible(false)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic