JTable use Row Numbers?
问题 I am creating a program to work like Microsoft Excel , in JAVA. My problem is how do I put the row numbers beside each row of the JTable ? I have seen it working in other Java Programs - I just can not figure out how to include it in mine. Google gave me this website, and apparently it works. When I use it in my program this nothing happen. :/ I there a better way of adding row numbers in a JTable ? I have looked at the Java Tutorials already. I am sorry if this question has been asked before