import java.awt.ComponentOrientation; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JOptionPane; import javax.swing
One of the easiest ways is to use HTML directly in the String literal. For example:
"MINES AND GEOSCIENCES BUREAU - REGION XI, DAVAO CITY\n"
Can easily become:
"MINES AND GEOSCIENCES BUREAU - REGION XI, DAVAO CITY"
Note that when you use HTML, you can no longer use \n for new lines. Use instead.
\n