Changed key string concatenation format

This commit is contained in:
MatMasIt 2021-02-15 10:56:21 +01:00 committed by GitHub
parent 9ce7937535
commit 968f321588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,9 +151,9 @@ public class Main extends JFrame implements ActionListener{
JOptionPane.ERROR_MESSAGE); JOptionPane.ERROR_MESSAGE);
System.exit(1); System.exit(1);
} }
String keys=""; String keys="|";
for(int i=0;i<this.nkeys;i++){ for(int i=0;i<this.nkeys;i++){
keys+=JOptionPane.showInputDialog("Key No. "+String.valueOf(i+1)); keys+=JOptionPane.showInputDialog("Key No. "+String.valueOf(i+1))+"|";
} }
ZipFile zipFile = new ZipFile(f); ZipFile zipFile = new ZipFile(f);
try { try {