• Post Reply Bookmark Topic Watch Topic
  • New Topic

ChangeEvent and CaretEvent  RSS feed

 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can someone explain to what exactly CaretEvent and ChangeEvent are? I am lost at API doc's explanation. Can someone explain?
Thanks.
 
Baburaj Alampilli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friend,
i am working as a faculty for java at ssi,trichur in kerala state in india.
caretevents are used in context with text components.
caret is the vertical line which appears in the textcomponent while we type.
there are methods in caretlistener called getdot() and getmark()
to get the current position and end position of the caret.
refer book : pure jfc,swing for further details
your friend,
baburaj
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!