I need to create a program, with GUI which can encrypt and decrypt the vigenere cipher. And I would start with saving the tabula recta in an array but I dont really have any experience with doing "bigger" projects. I cant really figure out how to move the alphabet in every line one place further to the left like in the tabula recta.
Sorry for my bad english. I hope someone can help me
public static void main(String[] args) {
char[][] tabulaRecta = new char[25][25]; // [zeile] [spalte]
char[] alphabet = new char[25];
char a = 65; //erster Buchstabe (großes A)
for(int x = 0; x < 26; x++, a++) {
alphabet[x] = a;
for(int i = 0; i < 26 ; i++, a++) {
a++;
for(int j = 0; j < 26; j++, a++) {
if(a < 91) {
tabulaRecta[i][j] = a;
} else if(a> 90) {
a= 65+1
tabulaRecta[i][j] = a;
}
}
}
}
}
thats all i got so far