views:

8

answers:

0

I have a java application running on RedHat Linux that uses swing components. To run the application, I do an ssh -Y from windows machine running cygwin to the RedHat Linux server and then run the application.

My application has some menus on the main panel with each menu having submenus. If I don't move the main panel when the application comes up, everything works fine and I can select menus and submenus.

However, when I move the main panel, I can no longer select any submenus using the mouse. I can select the main menu item, and then arrow down to select the desired submenu, however, moving the mouse over the submenu doesn't cause the submenu item to get focus.

If after selection of main menu item the mouse is moved to where the submenu would have been prior to moving the main panel, then again the submenu item does get focus.

I would appreciate any insight to what might be the problem.