]> source.dussan.org Git - tigervnc.git/commitdiff
Bugfix: VncCanvas2 class could not be found because of the recent package name change.
authorConstantin Kaplinsky <const@tightvnc.com>
Mon, 14 Apr 2008 14:27:03 +0000 (14:27 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Mon, 14 Apr 2008 14:27:03 +0000 (14:27 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2465 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tightvnc/vncviewer/VncViewer.java

index 32730936be88dea882b019fef3f911d1761f8079..6fa77f856ee027cd6553330849a13849afab2a73 100644 (file)
@@ -272,7 +272,7 @@ public class VncViewer extends java.applet.Applet
       // This throws ClassNotFoundException if there is no Java 2D API.
       Class cl = Class.forName("java.awt.Graphics2D");
       // If we could load Graphics2D class, then we can use VncCanvas2D.
-      cl = Class.forName("VncCanvas2");
+      cl = Class.forName("com.tightvnc.vncviewer.VncCanvas2");
       Class[] argClasses = { this.getClass(), Integer.TYPE, Integer.TYPE };
       java.lang.reflect.Constructor cstr = cl.getConstructor(argClasses);
       Object[] argObjects =