Erro de lógca

Bom dia a todos neste código abaixo eu entro com o nome de dois alunos e depois com as notas deles,
quando o mais lógico seria entrar com o nome do um aluno e as suas notas, tem como fazer isso ?
Qualquer ajuda será bemvinda.
Abraços

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		double array1[][] = new double[2][4];
		String array2[] = new String[2];
		int aluno = 0, nota = 0, nome = 0;
		String sAux1 = "", sAux2 = "";

		for (nome = 0; nome < array2.length; nome++) {
			array2[nome] = showInputDialog("Digite o nome do aluno");
			sAux2 += String.format("%s %s \n", "Aluno", array2[nome]);
		}

		for (aluno = 0; aluno < array1.length; aluno++) {
			for (nota = 0; nota < array1[aluno].length; nota++) {

				array1[aluno][nota] = Double
						.parseDouble(showInputDialog("Digite uma nota"));
				sAux1 += String.format("%s %.2f \n", "Notas",
						array1[aluno][nota]);
			}
		}

		showMessageDialog(null, sAux1 + sAux2);

	}

Scanner s = new Scanner(System.in); String[] alunos = new String[2]; int[][] notas = new int[alunos.length][4]; for(int i = 0; i &lt; alunos.length; i++){ System.out.print(&quot;Nome: &quot;); alunos[i] = s.next(); for(int j = i; j &lt; notas[i].length; j++){ System.out.print(&quot;Nota &quot; + (j+1) + &quot; do aluno &quot; + alunos[i] + &quot;: &quot;); notas[i][j] = s.nextInt(); } }

O certo seria você ter uma classe aluno

Public class Aluno{

     private String nome;
     private Double nota;

     public Aluno(String nome,Double nota){
         this.nome = nome;
         this.nota = nota;
     }

     // gets e sets

}

e na classe que vai exibir você faz

    Aluno aluno1 = new Aluno("João",new Double(10));
    Aluno aluno2 = new Aluno("José",new Double(5));

    List<Aluno> alunos = new ArrayList<Aluno>();
    alunos.add(aluno1);
    alunos.add(aluno2);

    for(Aluno aluno:alunos){
       System.out.println("Nome:" + aluno.getNome() + " | Nota:" + aluno.getNota());
    }