User Tools

Site Tools


tips:java:pcanywhere

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tips:java:pcanywhere [2009/07/10 09:27] 122.172.61.88tips:java:pcanywhere [2009/07/10 09:58] (current) – old revision restored erik
Line 1: Line 1:
 +======= Java Screen Refresh and pcAnywhere =======
  
 +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.//