When I run my project under NetBeans it works, and the Arabic text is formatted correctly. But when I build the project and send it to the client, the Arabic text is reversed.
The same thing also happens to me. When I open the jar file of the project, I see that the language is reversed. I need a solution knowing that Arabic words are written inside jLabel.
When I run the project from within NetBeans, these are the correct results:
And these are the incorrect results when I open the jar file after building the project:
CodePudding user response:
Well guys, I finally discovered the error which is the font type. I put the font type in NetBeans (Times New Roman) And I discovered that NetBeans supports this type of font, but Windows does not support it, so it makes the sheep inverted and only this problem and I hope that no one will fall into this slander after me: and it is better to use this type of font (Tahoma) because all devices support it And it does not show any problem, thank you