.txt ファイルからすべての ID を読み取り、これらの ID を Vector に挿入します。
String pathSelectedfile = fileChooser.getSelectedFile().getAbsolutePath();
File selectedFile = new File(pathSelectedfile);
Scanner readFile = new Scanner(selectedFile);
Vector ids=new Vector();
while (readFile.hasNextLine()) {
String id= readFile.nextLine();
ids.addElement(id);
}
次に、Vector.i で複数の ID を削除したい for ループでそれを行うことができますが、情報が大きすぎます.tnx がたくさんあります