| | | | Browse by category |
Question
Why is my application slow on remote displays?
Answer
Since JTGO 4.5, the drawing routines use Java 2D calls.
However, due to some performance issues on remote displays while using Java 2D objects, you might observe some latency when selecting or dragging objects.
See the links below for more details about this issue:
Antialiasing/Compositing is slow on remote display
PixelGrabber.grabPixels runs up to 600 times slower on JDK1.4.1 than on JDK1.3.1
Both issues have been fixed in JDK 7.
However, if you still using JDK 6 or earlier, alternate drawing routines have been implemented since JTGO 4.5 patch level 16 and JViews TGO 7.5 patch level 4 to workaround these issues.
To enable the alternate routines, you need to set the following property:
ilog.tgo.polygon.alternateDrawing
You can set the property through a properties file, or through the command line as follows:
java -Dilog.tgo.polygon.alternateDrawing mySample