url: http://paste.minad.de/index.php?nid=399
Notizname: - von: - Sprache:

  1. private void jTable1PropertyChange(java.beans.1.5.0/docs/api/java/beans/PropertyChangeEvent.html">PropertyChangeEvent evt) {
  2. // Object oldValue = evt.getOldValue();
  3. // Object newValue = evt.getNewValue();
  4. // System.out.println(oldValue);
  5. // System.out.println(newValue);
  6. int selectedRow = jTable1.getSelectedRow();
  7. int selectedColumn = jTable1.getSelectedColumn();
  8. if (selectedRow != -1 && selectedColumn != -1) {
  9. 5+0%2Fdocs%2Fapi+Object">Object valueAt = jTable1.getModel().getValueAt(selectedRow, selectedColumn);
  10. if (valueAt != null)
  11. 1.5.0/docs/api/java/lang/System.html">System.out.println("Zeile = " + selectedRow + "Spalte = " + selectedColumn + "Wert = " + valueAt);
  12. }
  13. }
Pastelog:
erstellt 2014.05.23 12:08:13
Hits
675




© 2009-2010 rellig