wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes hit ente key problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "hit ente key problem" Watch "hit ente key problem" New topic
Author

hit ente key problem

Vikas Kumar Sahu
Ranch Hand

Joined: Dec 02, 2003
Posts: 59
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

Joined: Jul 03, 2001
Posts: 2120
Hi, I do not understand what response is waited on. But the Caret can be made invisible by JTextPane.getCaret().setVisible(false)


SCJP2. Please Indent your code using UBB Code
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hit ente key problem