un modo veloce
codice:
Vector list = new Vector();
while (rs.next()) {
  list.addElement(new String[]{rs.getString(1), rs.getString(2)});
}