Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am attempting to use a Java application (on a linux host) remotely (with X11), and I'm running into problems. The default XToolkit for AWT/Swing seems to have problems with menu alignment (such as reported here:

The "quick" solution was to switch back to using the older MToolkit for AWT, by setting AWT_TOOLKIT=sun.awt.motif.MToolkit ... however this comes with it's own set of problems, namely, after a dialog message pops up, keyboard focus is messed up. The caret seems to work properly in however keyboard events aren't generated/received. According to this: it seems to have been fixed (a while back) but I am still having this same symptoms even with JRE 1.6.0_20.

Anyone running into the same problems, and, better yet, have a fix/solution?

share|improve this question

The link in the question is dead; however, I've had success when connecting to a Linux Java app on the Mac, by simply un-maximising the application window. Swing menus then work correctly. (I didn't change the toolkit.)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .