you could add the arraylist's content to a string and use JOptionPane to show your string