2 Replies Latest reply on Feb 26, 2013 10:27 AM by Murray9654

    displaying line numbers in JTextPane?

      Hi I have attached a JTextPane to an InternalFrame. What i wanted to do is i have to display line number on the left side of the textpane and that should be not editable(only Line number) and when we move to the next line the cursor has to be placed right next to the line number. How this can be done?