In pratica vorrei che mi spiegaste se c'è un metodo particolare per mettere i caratteri unicode come testo dei bottoni...
io sto facendo una calcolatrice... e mi serve mettere un bottone con questo simbolo ← e un bottone con quest'altro simbolo √...
il codice è questo JButton radice = new JButton("√") ;
solo che quando vado a salvare mi da errore...
Save could not be completed
Reason:
Some characters cannot be mapped usind "Cp1252" character encoding.
Either changed the encoding or remove the characters which are not supported by the "Cp1252" character encoding.
che devo fare?????????![]()
grazie in anticipo

Rispondi quotando