doing export LIBXCB_ALLOW_SLOPPY_LOCK=true before launching netbeans seems to do the trick. It looks like it is a sun's java bug, not netbeans itself..
-- Szymon K. Janc szymon#janc.int.pl // GG: 1383435 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]