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 revision Previous revision
tips:java:pcanywhere [2009/07/10 09:27]
122.172.61.88
tips:java:pcanywhere [2009/07/10 09:58] (current)
erik old revision restored
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.//
tips/java/pcanywhere.txt · Last modified: 2009/07/10 09:58 by erik