public int ObtenerLlave()
{
String key = String.valueOf(miniTable.getValueAt(miniTable.getSelectedRow(), 0));
key = key.substring(key.indexOf("ID=") + 3, key.length());
key = key.substring(0, key.indexOf(","));
return Integer.parseInt(key);
}
No hay comentarios:
Publicar un comentario