dcsimg
JTable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chris_frank
Posted On:   Friday, April 20, 2001 08:42 AM

How do I set and display the row names, similar to the column names are set? I need this for a spreadsheet program I am writing where th user need to know what row and column they are editing. I want this for graphical reasonds along the side of the table.

Re: JTable

Posted By:   Sandip_Chitale  
Posted On:   Monday, April 23, 2001 02:24 PM

Install a TableCellRenderer. Read more here -


http://java.sun.com/j2se/1.3/docs/api/javax/swing/table/TableCellRenderer.html


Also to prevent the row number column
from scrolling out of view horizontally read -


http://www.codeguru.com/java/articles/128.shtml

About | Sitemap | Contact