I used setCursor() method to set a cursor for JTable.
But that cursor is applying only for rows (datapart) of the table.
How can I set cursor for Header of the same table,so that I can resize the column by double clicking its(column's) right edge?
Asked
Active
Viewed 889 times
2
-
and please seach on this forum, sometimes doesn't works – mKorbel Apr 04 '12 at 06:26
1 Answers
5
Try this:
table.getTableHeader().setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));

tenorsax
- 21,123
- 9
- 60
- 107