Java: Debugging Output

System.out.println

[To be written]

JOptionPane.showMessageDialog

[To be written]