I&#39;m the author of SetWMName and I can summarise the issue, however I already tried to do this in the comment in the beginning of the SetWMName.hs. If it is not enough, please advice on how to improve the summary.<br><br>
If it is possible, you should use the SetWMName instead of setting AWT_TOOLKIT=MToolkit, because MToolkit (Motif, actually) is an old engine for AWT and it doesn&#39;t support all the features needed to make the Java GUI programs work (some programs work, some do not). Setting WM name is quite a dirty hack, but it is the only way to work around the problem till, maybe, JDK7 (and there are no guarantees we&#39;d have anything fixed there).
<br><br>Ivan<br><br><div><span class="gmail_quote">On 10/2/07, <b class="gmail_sendername">Don Stewart</b> &lt;<a href="mailto:dons@galois.com">dons@galois.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
mail:<br>&gt; Brandon S. Allbery KF8NH wrote:<br>&gt; &gt;<br>&gt; &gt;On Oct 1, 2007, at 10:04 , Stefan O&#39;Rear wrote:<br>&gt; &gt;<br>&gt; &gt;&gt;On Mon, Oct 01, 2007 at 02:28:25PM +0200, Christian Thiemann wrote:<br>
&gt; &gt;&gt;&gt;It looks like it&#39;s a problem with Xmonad.&nbsp;&nbsp;I fired up an Xnest with fvwm<br>&gt; &gt;&gt;&gt;and MATLAB works fine there.&nbsp;&nbsp;And Xnest with wmii and MATLAB works as<br>&gt; &gt;&gt;&gt;well.<br>&gt; &gt;&gt;
<br>&gt; &gt;&gt;Is the MATLAB gui written in Java?&nbsp;&nbsp;There is a known bug in the Java<br>&gt; &gt;&gt;windowing code which prevents it from working correctly with<br>&gt; &gt;&gt;non-reparenting window managers like xmonad.
<br>&gt; &gt;<br>&gt; &gt;Yes, the Matlab GUI is Java.<br>&gt; &gt;<br>&gt; &gt;Another known workaround that often (but not always, for unknown<br>&gt; &gt;reasons) works is<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;export AWT_TOOLKIT=MToolkit
<br>&gt; &gt;<br>&gt; &gt;before starting Java programs.<br>&gt; &gt;<br>&gt;<br>&gt; Ok, great.&nbsp;&nbsp;That worked for me.&nbsp;&nbsp;Thanks.<br>&gt; _______________________________________________<br><br>could someone summarise this issue generically, with the fix details,
<br>for the <a href="http://xmonad.org/faq.html">xmonad.org/faq.html</a> page please?<br><br>-- Don<br>_______________________________________________<br>Xmonad mailing list<br><a href="mailto:Xmonad@haskell.org">Xmonad@haskell.org
</a><br><a href="http://www.haskell.org/mailman/listinfo/xmonad">http://www.haskell.org/mailman/listinfo/xmonad</a><br></blockquote></div><br>