For the play button in the Java GUI, I am currently using a button with a label set to 'β»' (found this character in the Unicode character table). As far as I understand, itβs better not to use such characters directly in the source code, but rather use an explicit unicode representation, for example \u25BB in this example, because some tools (editor, ...) may not be able to process files, -ASCII ( it is right?).
Assuming the compiled class contains the correct character, under what circumstances does the graphical interface not display the intended character in the current PC operating system? Linux, Windows, Mac must support UTF-16, right? Are fonts available or font settings causing problems with this approach?
(Of course, I could add an icon, but why add additional resources if the symbol is already available ... given that this is a portable solution)
source share