Mega Code Archive

 
Categories / Java Tutorial / Development
 

Display special character using Unicode

import javax.swing.JLabel; public class Main {      public static void main(String[] argv) {     String COPYRIGHT = "\u00a9";     JLabel a = new JLabel(COPYRIGHT);   } }