Using Netbeans remotely with FreeNX, I had some trouble with the display not refreshing very well.
The solution is simply to uses
sun.java2d.pmoffscreen, i.e. add the option
There should be a way to detect if the display is local or not reading the DISPLAY env variable :
…j2se/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java , see _isDisplayLocal method …
I have to try with the
J2D_PIXMAPS=shared/server env variable too.
- Ref :
- java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/gdhqt.html I admit I didn’t really understand his one.