This worked for me:

*export _JAVA_AWT_WM_NONREPARENTING=1*

source: 
https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console

On Sunday, March 29, 2015 at 12:48:56 AM UTC-4, Bill Piel wrote:
>
> I tried floating/tiling, hide/showing and resizing, but no luck. Switching 
> into unity DID work though. At least I know I'm not the only one with this 
> problem. Thanks for the clue.
>
> On Sunday, March 29, 2015 at 12:07:25 AM UTC-4, Justin Smith wrote:
>>
>> I've had issues with JVM GUIs and tiling window managers, sometimes 
>> floating and then tiling the window (or even hiding/ showing the window, or 
>> resizing) will make the contents show up. I don't know if there is an 
>> application level fix for this, and I'm not sure whether it should be 
>> considered a WM bug (not propagating the resize / expose events the apps 
>> expect) or a bug in the lib.
>>
>> On Saturday, March 28, 2015 at 6:44:07 PM UTC-7, Bill Piel wrote:
>>>
>>> I decided to try out incanter. Following the instructions, I ran this in 
>>> the repl:
>>>
>>> *user=> (view (histogram (sample-normal 1000)))*
>>>
>>> A blank, grey window popped up. I can right-click and save it to a png. 
>>> The png shows the graph as expected. I get the same results for other 
>>> commands. I googled around, but came up with nothing.
>>>
>>> I'm running Ubuntu 14.04 with xmonad.
>>>
>>> Here's my project.clj:
>>>
>>> (defproject try-incanter "0.1.0-SNAPSHOT"
>>>   :description "FIXME: write description"
>>>   :url "http://example.com/FIXME";
>>>   :license {:name "Eclipse Public License"
>>>             :url "http://www.eclipse.org/legal/epl-v10.html"}
>>>   :dependencies [[org.clojure/clojure "1.6.0"]
>>>                  [incanter/incanter-core "1.9.0"]
>>>                  [incanter/incanter-charts "1.9.0"]]
>>>   :main ^:skip-aot try-incanter.core
>>>   :target-path "target/%s"
>>>   :profiles {:uberjar {:aot :all}})
>>>
>>>
>>> Any ideas? thanks
>>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to