I need to make the output in 3 lines and also aligned by “:”, using JOptionPane.showdialogmessage(): *note the alignment of the “:” I have tried manually adding spaces before each “:” but still these 3 lines do not strictly align: Here is the output screenshot: What is the easiest way to realize this alignment? Thanks P.S.: This is my first