at the moment you're using a bunch of System.out.println's to print:
Total number of excuses: 264
The Excuse Water spilled on it had the max numer of excuses
The Excuse A tornado got it had the min numer of excuses
Excuse name # of excuses
My dog ate it 15
It burned 12
I lost it 18
I ate it 23
It fell down the sewer 16
It shredded 44
I forgot it 19
I can't remember 17
Water spilled on it 0
A tornado got it 1
continue with the current program, but try to print all of the above in a single println,
which would mean using a StringBuffer, or StringBuilder to create a single
String of the above
so it would be
String message = [will end up as all of the above];
System.out.println(message);
now when it prints out exactly as above, you change
System.out.println(message);
to
javax.swing.JOptionPane.showMessageDialog(null,message);