Monday, September 10, 2001 02:53 AM
i Have written code
DefaultCaret dc=new DefaultCaret();
dc=(DefaultCaret)textfield.getCaret();//where textfield is the JTextField
Now I want to call
dc.moveCaret(Mouse event e);
but it is giving error that the moveCaret(java.awt.event.MouseEvent) has protected access in javax.swing.text.DefaultCaret
How to access moveCaret .
Thanks in advance.