i find solution
use this libraris
import java.awt.ComponentOrientation;
import java.awt.EventQueue;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import...
Type: Posts; User: cnmeysam
i find solution
use this libraris
import java.awt.ComponentOrientation;
import java.awt.EventQueue;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import...
In some languages, such as English, the text Start from left to right, but in some languages, such as Arabic or Persian, the text starts from right to left. For example in the text box we use this...
This code creates an icon in the system tray after minimizing and that icon has 2 menus
I want the menus to be right-aligned and have an icon back to each menu
But I did not find the code to do this
import java.awt.*;
import java.awt.event.*;
import javax.swing.JFrame;
import javax.swing.UIManager;
public class HideToSystemTray extends JFrame{
TrayIcon trayIcon;
SystemTray...
https://filebin.net/kjon07425x38shil/tryicon.rar?t=vb0k2p2m
this is compiled but menu items don't get right to left
This is all code, just change pic name to your picture (pic/kabe.jpg) and call HideToSystemTray(); in a button you to execute the code
The code executes correctly but i can't find set icon and set...
i can't set right to left MenuItem in system try or add icon for them
How I can arrange the menu items in the system tray rtl?
TrayIcon trayIcon;
SystemTray tray;
Image getIcon() {
return...