I'm trying to use dwm Windows Manager, everything is fine (1mb ram ;) but when I run netbeans it load but with a grey and empty interface. (it works fine in Unity or E17 )

Any Idea ?

I have found out this http://netbeans.org/bugzilla/show_bug.cgi?id=86253 but the solutions proposed doesn't work for me

  • Did you mean 1 GB of RAM?
    – Sly
    Oct 2, 2012 at 5:23
  • I mean dwm consumes 1mb of ram
    – Francesco
    Oct 3, 2012 at 5:42
  • Ah. Got'cha. I thought you meant altogether for your system.
    – Sly
    Oct 3, 2012 at 11:05

1 Answer 1


Perhaps your issue is the same as this xmonad issue?


The Java gui toolkit has a hardcoded list of so-called "non-reparenting" window managers. xmonad is not on this list (nor are many of the newer window managers). Attempts to run Java applications may result in `grey blobs' where windows should be, as the Java gui code gets confused.

A solution is to export _JAVA_AWT_WM_NONREPARENTING=1.

Edit: According to https://wiki.archlinux.org/index.php/Dwm#Fixing_misbehaving_Java_applications, you can also use "wmname LG3D" to hack the window manager's name.

  • thank you: this fixed the issue wmname LG3D
    – Francesco
    Sep 28, 2012 at 14:34
  • Thanks, and I was about to think the window manager I'm working on is broken. Sep 21, 2015 at 18:16
  • By the way, where can one find the aforementioned list of window managers for the current version of Java?
    – thiagowfx
    Feb 16, 2017 at 0:38

You must log in to answer this question.

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