File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic
Author

JTable

R.Joe
Ranch Hand

Joined: Jun 16, 2004
Posts: 31
how can i know the lastSelectedRow as well as the currentSelectedRow in JTable
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
Add an event listener, like ListSelectionListener.
Before you save the current selection, store the saved "current selection" in a "last selected" variable(s).


The nice thing about Standards is that there are so many to choose from!
 
Consider Paul's rocket mass heater.
 
subject: JTable
 
Similar Threads
jtable
Jtable
JTable
JTable