2 Replies Latest reply: Feb 26, 2013 4:27 AM by Murray9654 RSS

    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?