Index: trunk/src/com/kitfox/svg/SVGRoot.java
===================================================================
--- trunk/src/com/kitfox/svg/SVGRoot.java	(revision 10787)
+++ trunk/src/com/kitfox/svg/SVGRoot.java	(revision 11525)
@@ -93,4 +93,5 @@
     }
 
+    @Override
     public String getTagName()
     {
@@ -98,4 +99,5 @@
     }
     
+    @Override
     public void build() throws SVGException
     {
@@ -163,4 +165,5 @@
     }
 
+    @Override
     public SVGRoot getRoot()
     {
@@ -262,7 +265,15 @@
     {
         prepareViewport();
-
+        
         Rectangle targetViewport = g.getClipBounds();
-
+//
+//        if (targetViewport == null)
+//        {
+//            Dimension size = Toolkit.getDefaultToolkit().getScreenSize();
+//            targetViewport = new Rectangle(0, 0, size.width, size.height);
+//        }
+//        clipRect.setRect(targetViewport);
+
+        
         Rectangle deviceViewport = diagram.getDeviceViewport();
         if (width != null && height != null)
@@ -294,4 +305,6 @@
         else
         {
+//            Dimension size = Toolkit.getDefaultToolkit().getScreenSize();
+//            targetViewport = new Rectangle(0, 0, size.width, size.height);
             targetViewport = new Rectangle(deviceViewport);
         }
@@ -319,5 +332,6 @@
     }
 
-    public void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List retVec) throws SVGException
+    @Override
+    public void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
     {
         if (viewXform != null)
@@ -330,5 +344,6 @@
     }
     
-    public void pick(Point2D point, boolean boundingBox, List retVec) throws SVGException
+    @Override
+    public void pick(Point2D point, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
     {
         Point2D xPoint = new Point2D.Double(point.getX(), point.getY());
@@ -347,4 +362,5 @@
     }
 
+    @Override
     public Shape getShape()
     {
@@ -353,4 +369,5 @@
     }
 
+    @Override
     public Rectangle2D getBoundingBox() throws SVGException
     {
@@ -381,4 +398,5 @@
      * update
      */
+    @Override
     public boolean updateTime(double curTime) throws SVGException
     {
