Unicode symbols (arrows) in Java

java, special-characters, unicode

Solution

I would suggest to use Icons on Buttons instead of special characters, because the ability to display may be strongly affected by availability of fonts on client workstation.

Problem

i want to use following symbols for buttons in my app: arrows http://img402.imageshack.us/img402/3176/arrowso.jpg here my code: ``` Button goToFirstButton = new Button("\uE318"); Button prevPageButton = new Button("\uE312"); Button nextPageButton = new Button("\uE313"); Button goToLastButton = new Button("\uE319"); ``` and the result is result http://img693.imageshack.us/img693/9063/resultbu.jpg It seems, that \uE318 and \uE313 are wrong. What should i use instead? For goToLastButton and goToFirstButton i prefer to use this images alt text http://img3.imageshack.us/img3/5724/singlearrow.jpg but i can't find, which code should i use.

Original source

Related problems