Mercurial > hg > Applications > TreeVNC
changeset 313:45aa7825ef6f
change RenderingHints value speed
author | oc |
---|---|
date | Wed, 28 Jan 2015 17:27:59 +0900 |
parents | b4718b491ae9 |
children | e95cb9a3dd9b |
files | src/viewer_swing/java/com/glavsoft/viewer/swing/Surface.java src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/Surface.java Fri Jan 23 18:49:28 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/Surface.java Wed Jan 28 17:27:59 2015 +0900 @@ -135,7 +135,7 @@ public void paintComponent(Graphics g) { if (null == renderer) return; ((Graphics2D)g).scale(scaleFactor, scaleFactor); - ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_SPEED); synchronized (renderer.getLock()) { Image offscreenImage = renderer.getOffscreenImage(); if (offscreenImage != null) {