Hi, can someone explain to what exactly CaretEvent and ChangeEvent are? I am lost at API doc's explanation. Can someone explain? Thanks.
posted 15 years ago
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