Of course you can use the equals() method on Arabic text.
But text fields are not intended for entering options. They are intended for entering data. More a case of name = nameField.getText();
You would usually use buttons or menu items for options.
Something went wrong with the copy and paste on the Arabic text when I ran that little program. The original on the terminal looked a lot better. Where the = is at the very left, a space has been missed out by the software.ery
dude this language is not arabic ! like is said its my local language, its called Sindhi .. i searched on the internet for Sindhi literals of unicode and there appeared be onlly UTF-8 written on every page i visited ! Now i have to see the differences between them ! *sigh*
i know about controls,
see this,
The code should be something like this, I'm too lazy to write the main method but you can get it
i have tried this and this is not working for me !
i intend to make a text to speech based on comparisons of words, if the word matches a method containing querry would run, playing an audio file.