Arabic text reversed when I build the project in NetBeans

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