inspector jtable events mouseclicked..add handler "my_handler_name" -
in the code youll find something like :
private void usertbl_mouse(java.awt.event.MouseEvent evt) {
// TODO add your handling code here:
int row = usertbl.getSelectedRow();
int col = usertbl.getSelectedColumn();
System.out.println( "row:"+ row + ":" + col );
col / row count starts at 0 !!!!
*fin
in the code youll find something like :
private void usertbl_mouse(java.awt.event.MouseEvent evt) {
// TODO add your handling code here:
int row = usertbl.getSelectedRow();
int col = usertbl.getSelectedColumn();
System.out.println( "row:"+ row + ":" + col );
col / row count starts at 0 !!!!
*fin
baschtler | 28. April 09 | 0 Kommentare
| Kommentieren