aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes  to point a cursor into a particular column in Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark " to point a cursor into a particular column in Table" Watch " to point a cursor into a particular column in Table" New topic
Author

to point a cursor into a particular column in Table

maliny ramu
Greenhorn

Joined: May 14, 2007
Posts: 10
the scenario
When adding a new row in the table,the cursor should point to the particular column.Could you help me out with solution with example.?
I'm using Table Model Listener whereby when i double clicked the cursor will be there.
dhwani mathur
Ranch Hand

Joined: May 08, 2007
Posts: 621
ok
as per you explained it if you want to point to a particular row of the table you must use a Object[][] data
as a argument to the table model and pass the data to table,you want to point to a particular row than data[i][j] in a for loop,than keep changing i & j value [0][0],[0][1] and so on.hope this may be helpful to you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: to point a cursor into a particular column in Table