Comment afficher plusieurs lignes dans JOptionPane?

Comment puis-je afficher toutes ces informations dans une seule boîte de dialogue? Chaque fois que je lance le fichier boîte de dialogue qui s'affiche, j'ai vraiment besoin d'apparaître dans une seule boîte de dialogue avec toutes les informations.

JOptionPane.showMessageDialog(null,"Your Name:"+a1,"Output",JOptionPane.INFORMATION_MESSAGE );
JOptionPane.showMessageDialog(null,"Your age:"+age,"Output",JOptionPane.INFORMATION_MESSAGE );
JOptionPane.showMessageDialog(null,"Your Birth year:"+a3,"Output",JOptionPane.INFORMATION_MESSAGE );
JOptionPane.showMessageDialog(null,"Your Height:"+H,"Output",JOptionPane.INFORMATION_MESSAGE );
JOptionPane.showMessageDialog(null,"Your Weight:"+W,"Output",JOptionPane.INFORMATION_MESSAGE );
JOptionPane.showMessageDialog(null,"Your BMI:"+BMI,"Output",JOptionPane.INFORMATION_MESSAGE );

OriginalL'auteur Hani Shah | 2013-10-13