Java: column number and line number of cursor's current position

后端 未结 0 579
鱼传尺愫
鱼传尺愫 2020-12-16 01:52

I want to know the column number and row number where the cursor in JTextArea. ie. in notepad when i m at first line than status bar shows Ln 1, Col 1.

thanks in ad

相关标签:
回答
  • 消灭零回复
提交回复
热议问题