Java Swing-based applications may not redraw properly when accessed via remote terminal utilities such as pcAnywhere.
The problem can be fixed by setting the system property sun.java2d.noddraw
to true
.
java -Dsun.java2d.noddraw=true mypackage.myapplication.myclass
This will instruct the JVM to bypass DirectDraw. Hopefully allowing the remote terminal to retrieve properly refreshed views of the Java application.
Note that doing so may slow down the application rendering when used locally.